Support » Plugin: Meteor Slides » Choose Slideshow via Page-title? for diffferent silde shows?

  • Resolved ArnoH


    Hey ho,

    im trying to tale meteor slider for a headerimage for every page a different slideshow,
    in the faq it says to put:

    <?php if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow( "robots", "" ); } ?>

    in my header.php

    my question now is, if it is possible to let put something like:

    <?php if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow( "<strong><?php echo get_the_title(); ?></strong> ", "" ); } ?>

    so that it will always be shown the slideshow what has the pagetiltle in the name…
    anyone knows around?
    I would be thankful!

Viewing 1 replies (of 1 total)
  • Plugin Author Josh Leuze


    You have to load it by the slideshow slug, so the page title wouldn’t work, it would be uppercase with spaces, so it wouldn’t match the slideshow slug. Instead, you want to use the page slug, and create slideshows with matching slideshow slugs. So then you can have it load the slideshow that matches that page.

    Here’s a code snippet that will check for a slideshow that matches the page slug and loads that or falls back to a default slideshow.

Viewing 1 replies (of 1 total)
  • The topic ‘Choose Slideshow via Page-title? for diffferent silde shows?’ is closed to new replies.