Home › Forums › Support › php & shortcode help › Reply To: php & shortcode help
May 7, 2015 at 9:19 am
#106369
Tom
Lead Developer
Lead Developer
And this doesn’t work?
<?php if ( is_front_page() ) : ?>
<?php echo do_shortcode('[advps-slideshow optset="1"]'); ?>
<?php endif; ?>
How about this?
<?php if ( is_front_page() ) : ?>
[advps-slideshow optset="1"]
<?php endif; ?>