[Plugin: Meteor Slides] Slideshow Template Tag – Page Slug for Slideshow Slug
-
I have many slideshows for a site I’m building (probably 40). I’d like to place a template tag in a page template that controls many pages. The trick is, I’d like to have the code place the slideshow that corresponds to the specific page you’re visiting. So if the page is called “about-us”, display the slideshow “about-us”. I have matched the slideshow slugs to the page slugs. Is this possible or is there a different way of doing this? I really don’t want to place a shortcode on every single page. Not only is that method tedious but it’s not break proof. Thanks in advance.
I know this is incorrect, but just as an example.
<?php if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow( "the_ID()", "width: '650'" ); } ?>
- The topic ‘[Plugin: Meteor Slides] Slideshow Template Tag – Page Slug for Slideshow Slug’ is closed to new replies.