WordPress.org

Forums

[resolved] [Plugin: Meteor Slides] Correct php for showing on multiple pages (1 post)

  1. Lorraine
    Member
    Posted 3 years ago #

    I'm trying to get a meteor slide show showing by default on all pages and have another showing on 5 others. I'm using the code below and know I must be doing something really wrong. Any help appreciated.

    <?php if ( function_exists( 'meteor_slideshow') ) {

    if ( is_page( array( 'help', 'company', 'property', 'sales', 'ask' ) ) {
    meteor_slideshow( "business", "" );
    } else {
    meteor_slideshow( "front", "" );
    }

    } ?>

Topic Closed

This topic has been closed to new replies.

About this Topic