Support » Theme: Hatch » Place slider in header?

Viewing 5 replies - 1 through 5 (of 5 total)
  • woo I’ve done it yay happy girl here 🙂

    …added the responsive slider plugin and then modified home.php removing the image code and replacing with the plugin slider code.

    not sure if that’s the best way to do it but it works for me.

    Oh! Gratz!

    I’ve been looking for a solution to this the last 3 hours!

    Could you please explain your solution a bit more so that a total noob could understand? (Ie what is the image code and which one is the plugin slider code?)

    I tried replacing this with the both the shortcode and the function but it didn’t work…

    <img src=”<?php header_image(); ?>” alt=”” />

    Figured it out eventually! Thanks to your previous posts.

    [menantol] – so what did you do? which code did you replace with what ??
    I’ve tried to replace various in home.php as well, but with no luck. Cheers!

    I can’t really remember but this is what the code looks like in my home.php. See if it helps…

    <div id=”header-banner” role=”banner”>

    <?php // Check to see if the header image has been removed
    $header_image = get_header_image();

    if ( ! empty( $header_image ) ) : ?>

    <?php echo do_shortcode( ‘[responsive_slider]’ ); ?>

    <?php endif; // end check for removed header image ?>


Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Place slider in header?’ is closed to new replies.