The following article is for customizing the WP Videos plugin video archive template. This will only work if you are NOT using a WPVS Theme.
Overriding the WP Videos Archive Template File
Find the rvs-video-template.php file within the video-sync-for-vimeo plugins folder:
Plugin File location
- /wp-content/plugins/video-sync-for-vimeo/template/rvs-video-template.php
- Copy this file into a new folder /wp-videos/ within your themes directory:
Theme File Location
- /wp-content/themes/{your-theme}/wp-videos/rvs-video-template.php
- You can now customize the rvs-video-template.php file within your theme directory.
Disabling WP Videos Archive CSS
If you need to disable the default WP Videos archive CSS file:
Go to WP Videos -> Video Settings and uncheck the Load WP Videos Archive Template CSS setting.
If You Are Using WP Video Memberships
If you are using the WP Video Memberships plugin, make sure to include the following within your custom rvs-video-template.php file above the video listings:
<?php if( function_exists('wpvs_is_current_term_purchase') ) { echo wpvs_is_current_term_purchase(); } ?>
Comments
0 comments
Please sign in to leave a comment.