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

    (@jleuze)

    Hi Dan, I would really recommend making a child theme, it could be as simple as a few comments in a style.css file and save you a lot of trouble in the long run!

    If you want to replace the header image with a slideshow, remove this code in the header.php file:

    <?php if ( get_header_image() ) : ?>
    		<a href="<?php echo esc_url( home_url( '/' ) ); ?>"><img src="<?php header_image(); ?>" class="header-image" width="<?php echo esc_attr( get_custom_header()->width ); ?>" height="<?php echo esc_attr( get_custom_header()->height ); ?>" alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" /></a>
    		<?php endif; ?>

    And replace it with this:

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

    I updated the header gist as well if you want to reference that.

    Very good, but i would like to have a centered slide like this only on homepage.What must i add to this code to reach my goal?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Slideshow for Twenty Twelve’ is closed to new replies.