new side bars created are behaving as footer widgets

Community Forums Forums Design Tips and Tricks new side bars created are behaving as footer widgets

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by  venkats 1 year, 10 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5531

    venkats
    Participant
    Post count: 6

     

    i have added 3 extra side bars/widgets like ‘home middle 1-3′ in enterprise theme.  it is kind of duplicating ‘home middle 1-3′ and i am calling them ‘home bottom 1, 2, 3′ and it is working well as expected. The only problem is, it is appearing as footer in all pages.

    Where could be the problem ?

    my site

    http://chipedge.com

    Is this code in functions.php causing the problem, particularly “child_after_content_ad_sidebar”

    ————

    add_action( ‘genesis_after_content_sidebar_wrap’, ‘child_after_content_ad_sidebar’ );
    /** Loads a new sidebar after the content */
    function child_after_content_ad_sidebar() {

    echo ‘<div class=”home-bottom-1″>’;
    dynamic_sidebar( ‘home-bottom-1′ );
    echo ‘</div>’;

    echo ‘<div class=”home-bottom-2″>’;
    dynamic_sidebar( ‘home-bottom-2′ );
    echo ‘</div>’;

    echo ‘<div class=”home-bottom-3″>’;
    dynamic_sidebar( ‘home-bottom-3′ );
    echo ‘</div>’;

    }

    ———-

    Thanks in advance..

    #5539

    AC
    Blocked
    Post count: 7712
    #5545

    venkats
    Participant
    Post count: 6

    Hi Anitac,

    Yes, i have posted it separately as that post includes 3 queries and i didn’t get any replies.  Recollecting the policy to post separate thread for each unique issue, i have posted again separately.

    As you have replied in the old post, i am fine to delete / mark as resolved. Can some one do it for me, as i dont have permissions for the same.

    Thanks,

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

The topic ‘new side bars created are behaving as footer widgets’ is closed to new replies.