WordPress.org

Support

Support » Plugins and Hacks » Portfolio Slideshow » [Resolved] [Plugin: Portfolio Slideshow] Cannot add slideshow to existing page template

[Resolved] [Plugin: Portfolio Slideshow] Cannot add slideshow to existing page template

Viewing 1 replies (of 1 total)
  • Hi!
    I was setting this up, and happened to see this. What you have is pretty close, I think, possibly a syntax problem?

    Here’s what I used, and it works great. I used additional code to show only on a static homepage, obviously that’s optional.

    <?php
    	if ( is_front_page() ) {
    		$myField = '<div class="whatever">[portfolio_slideshow id=7 size=full]';
    		echo do_shortcode($myField);
    		echo '</div>';
    	}
    ?>

    If something like that doesn’t work, double-check your syntax. Beyond that, maybe your theme is wacked, or something’s conflicting with the plugin’s JQuery. Good luck.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: Portfolio Slideshow] Cannot add slideshow to existing page template’ is closed to new replies.
Skip to toolbar