WordPress.org

Support

Support » Themes and Templates » replacing header image to slideshow

replacing header image to slideshow

  • i am a newbie to wordpress. I’d like to have a slideshow instead of header image on the site.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Where could I replace this line from header.php? or other file?

    <?php do_action(‘slideshow_deploy’, ’58’); ?>

    Yes open header.php, and add your plugin code:

    To place it above the menu: paste it under the
    <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>

    Below the menu: paste it above the ending </div> that is at the very bottom of the file.

    Remove the header image in the customizer.

    thanks poena. I made it to work on slideshow on all the pages.
    but please let me know how to make the slideshow appear on only home screen not on other page.

    try this

    <?php
    if ( is_home() ) {
        // This is a homepage
         do_action('slideshow_deploy', '58');
    }
    ?>

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘replacing header image to slideshow’ is closed to new replies.