[Plugin: Meteor Slides] Insert PHP into is_home statement
-
I’m trying to figure out how to inject the PHP properly for my Meteor Slides plugin so it only appears on the homepage. Nowhere else. I know to use the is_home conditional tag. But I tried this approach and it came across as invalid:
<?php if (is_home()) { if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow(); } ?>
What’s the proper PHP to use in this instance?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘[Plugin: Meteor Slides] Insert PHP into is_home statement’ is closed to new replies.