WordPress.org

Ready to get started?Download WordPress

Forums

Meteor Slides
[resolved] trouble with multiple slideshows (2 posts)

  1. MC
    Member
    Posted 2 years ago #

    using a child theme, based on 2011 with fairly minimal code changes.

    trying to implement multiple slideshows. I have the 5 slideshows setup in the admin console. I have conditional tags on the sub page its correctly showing this line of code from the header.php file:

    <?php elseif ( is_page( 'about' ) ) : // if about page ?>
    
    	<?php if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow( "about", "" ); } ?>

    It seems to be a clearing issue or something because the front page slideshow wouldnt show up until I added this css:

    #meteor-slideshow, #meteor-slideshowabout {
    clear:both;
    }
    .meteor-slides ul.meteor-nav {
    display:inline !important;
    }

    Now the front page slideshow either displays all slides.
    <?php if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow( ); } ?>
    If I call it like this, now it wont display
    <?php if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow( "home", "" ); } ?>

    It seems to be writing in the css/scripts in the head when I call it from a subpage. The html is there too I am checking and its referencing the right image. It just shows a blank white area. I think its a clearing issue or something getting in the way of it displaying. Any ideas how I can get these slideshows to show up?

    http://wordpress.org/extend/plugins/meteor-slides/

  2. Josh Leuze
    Member
    Plugin Author

    Posted 2 years ago #

    The problem is that those rules are using the ID of the slideshow and so they only target the default slideshow and the about slideshow. The home slideshow you are adding has the ID of "meteor-slideshowhome".

    You can add these rules to all the slideshow by using the class:

    .meteor-slides {
    clear:both;
    }
    
    .meteor-slides ul.meteor-nav {
    display:inline !important;
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic