Portfolio Slideshow
Cannot add slideshow to existing page template (2 posts)

  1. psaxton2012
    Posted 3 years ago #


    I am using the Portfolio Theme from Cloverthemes and want to replace their slider with this plugin

    Can someone show me the code I need to put into the php page?

    I have tried

    <?php echo do_shortcode('[portfolio_slideshow ID=73]');?>

    But nothing happens

    Do I need to include a file?



  2. flamenco
    Posted 3 years ago #

    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.

    	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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Portfolio Slideshow
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic