WordPress.org

Forums

Featured Video
[resolved] Using Featured Video with another Theme (5 posts)

  1. nicoletaher
    Member
    Posted 1 year ago #

    I installed the plugin but I am using a different theme. The theme I'm using is called Vue Resume & Portfolio. It has a custom function for portfolio with "Add item" and etc. By default it shows 4 portfolio items on the page (from the function). It uses featured image. When on the portfolio page it pulls up a lightbox and shows the image. How do I include this Featured Video plugin with the theme I already have? I'm assuming I would have to add some code into the theme's function? if so PLEASE help me out by proving full instructions, I'm not an expert by any means. Thank you kindly!!!!

    http://wordpress.org/extend/plugins/featured-video/

  2. towonder
    Member
    Plugin Author

    Posted 1 year ago #

    Your theme probably has a single.php file; if you add this line:

    <?php
    
        if( has_post_video() ){
            the_post_video()
        }
    
    ?>

    then that should do it...

  3. nicoletaher
    Member
    Posted 1 year ago #

    yes it does. Thank you

    And forgive me, but do I add that to the Featured Video Plugin editor file?

    Or to the single.php file and can I put it anywhere.

  4. nicoletaher
    Member
    Posted 1 year ago #

    also uses this template-portfolio-4col.php

  5. towonder
    Member
    Plugin Author

    Posted 1 year ago #

    Actually; I think (if your running the latest version) that the easiest solution for you is to use the shortcode in the post editor:

    Just put [featured-video] wherever you want your post video to go. It automatically checks if there's a post-video tied to that piece of content, so even if you remove the video, it won't break your site and that way you won't have to go adjusting the php files...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic