Move Welcome Widget Below Slider – Agency Theme

Community Forums Forums Design Tips and Tricks Move Welcome Widget Below Slider – Agency Theme

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  braddalton 1 year, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #58877

    KathleenCD
    Participant
    Post count: 22

    How can I move the welcome widget below the slider image?

    As an alternative I tried adding the text as a hook above content and it looked great on the home page but also appears on inside page and I don’t want that. If there’s a way of having the hook appear just on the home page that would be fine too.

    Any suggestions would be great. (I’ve included the URL below but the site is offline while I work out these issues).

    Thanks.

    http://feltham-attwood.ca
    #58959

    braddalton
    Participant
    Post count: 10217

    Simply change this section of the code in the home.php file so it looks like this:
    [php]
    function agency_home_welcome_helper() {

    if ( is_active_sidebar( ‘home-slider’ ) ) {
    echo ‘<div id="home-slider">’;
    dynamic_sidebar( ‘home-slider’ );
    echo ‘</div><!– end #home-slider –>’;
    }

    if ( is_active_sidebar( ‘home-welcome’ ) ) {
    echo ‘<div id="home-welcome">’;
    dynamic_sidebar( ‘home-welcome’ );
    echo ‘</div><!– end #home-welcome –>’;
    }

    }
    [/php]


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.