Add a new bubble on Agency Homepage (dynamic)

Community Forums Forums Design Tips and Tricks Add a new bubble on Agency Homepage (dynamic)

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  CathyT 1 year, 7 months ago.

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

    molen321
    Participant

    I have registered 2 new sidebars (perfectly showing up as widget area), the only thing is they appear in the loop. I want to create another bubble (outside the loop, outside the content?) in which home-bottom-1 and home-bottom-2 appear. Anyone any ideas?

    Thanks in advance,

    T.

     

    #11930

    CathyT
    Participant
    Post count: 38

    Your sidebar content appears in the loop? If home-bottom-1 and home-bottom-2 are supposed to appear in their obvious places (home-bottom perhaps? :)  ), use this in the functions file:

    <code>

    add_action(‘genesis_after_loop’, ‘child_home_after_loop’);

    function child_home_after_loop() {

    if ( is_home() ) {
    dynamic_sidebar( ‘home-bottom-1′ ); 
    dynamic_sidebar( ‘home-bottom-2′ );
    }

    }

    </code>

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

You must be logged in to reply to this topic.