Support » Plugin: Meteor Slides » [Plugin: Meteor Slides] very strange, plugin won't appear in header.php unless i put text above

  • Resolved sabster


    Hey JLeuze,

    Your plugin is *exactly* what I was looking for. However, I’m having a very strange problem…. I can only get your plugin to appear for me when I put text above the php tag.

    For example… Here’s some of my header.php (I added some code from the above navigation in case it did something to it…

    <div id="wrapper" class="hfeed">
    			<div id="branding" role="banner">
    				<?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?>
    				<<?php echo $heading_tag; ?> id="site-title">
    						<a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
    				</<?php echo $heading_tag; ?>>
    				<div id="site-description"><?php bloginfo( 'description' ); ?></div>
    				<!-- where header was -->
    			</div><!-- #branding -->
    			<div id="access" role="navigation">
    			  <?php /* Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff */ ?>
    				<div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyten' ); ?>"><?php _e( 'Skip to content', 'twentyten' ); ?></a></div>
    				<?php /* Our navigation menu. If one isn't filled out, wp_nav_menu falls back to wp_page_menu. The menu assiged to the primary position is the one used. If none is assigned, the menu with the lowest ID is used. */ ?>
    				<?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?>
    			</div><!-- #access -->
    	<?php if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow(); } ?>
    	<div id="main">

    Now, right now you see where the “a” is? When I delete this letter “a”, the slideshow completely disappears from the website! It goes away and only when I type some letters there will the slideshow appear. I tried putting the thing in a div also, but it won’t work. I may just push the margin up to cover the letters just to make it show lol….

    Any ideas? And sorry, this is on my local machine, but I can provide more info if need be.

Viewing 4 replies - 1 through 4 (of 4 total)
  • here’s an example image of a letter above the slide show, if i erase the letter…. the slideshow will dispear… this seems very, very weird…. lol.

    View post on

    found another hint as to what is going on, looked at the firebug code and for some reason it looks like the code is being placed ABOVE the navigation even though the div is BELOW it…. no idea why this is happening. here’s the picture of it. you can see the highlight of where the slideshow is trying to go above the navigation:

    View post on

    okay got it to work by adding a div aroudn the slideshow and adding the css attribute of:


    so it looked like this if anyone has the same problem:

    <div style="clear:both;">
    <?php if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow(); } ?>

    cheers! thanks for the great plugin!

    Plugin Author Josh Leuze


    Hi, thanks for posting your fix, you can actually put the whole clear div first and then the slideshow like this:

    <div style="clear:both;"></div>
    <?php if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow(); } ?>
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Meteor Slides] very strange, plugin won't appear in header.php unless i put text above’ is closed to new replies.