• Hey Ben,

    I have been trying to figure out how to implement a featured image slider using third party plugins but so far have failed. It just occured to me that your featured video addon might work in the sense that instead of it being a video that gets displayed maybe I could put a function to list out a slider plugin’s markup. If you know of any solutions to use other then this any help would be appreciated.

    I have tried putting slider markup using a function inside the featured image container but for some reason the code gets stripped out its odd.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Ben Sibley

    (@bensibley)

    I think you were right to place a function to output the slider in the content file. That is the way I would do it.

    IMO Meta Slider is the best slider plugin available, and it provides shortcodes for every slider. With the do_shortcode function, you could use a shortcode in the content.php template to output the video.

    I would also replace the featured image div entirely, since the styles on it will most likely conflict with the slider.

    Thread Starter bczegeny

    (@bczegeny)

    I’ll take a look at that slider. Will the slider work in the post list as well or do I need to modify more then just content.php Thinking of making a function to spit out the slider code?

    Theme Author Ben Sibley

    (@bensibley)

    You can use the content.php file for that as well. The markup inside the if( is_single() )... at the beginning of the file is for the individual post page, and the markup in the else statement below is used for posts showing on the blog/archives (that’s where you would include the slider for the blog).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Featured video or featured image slider?’ is closed to new replies.