register new sidebars

Support Area Forums Epic register new sidebars

Viewing 6 posts - 1 through 6 (of 6 total)
URL to the page in question: http://church.haynesandrenee.com
  • Author
    Posts
  • #23151
    Haynes Cromartie
    Participant

    How do you register new sidebars in your functions.php?

    Thanks,
    Haynes

    #23152
    Bill Robbins
    Moderator

    Good Morning Haynes,

    I would use a plugin to do that. There are quite a few out there that let you add in new sidebars. I’ve used Content Aware Sidebars quite a few times to create new ones. That’s the way I would go about adding a new sidebar.

    If you have any questions, let me know.

    Thanks,
    Bill

    #23163
    Haynes Cromartie
    Participant

    I was hoping to not use a widget in this instance. I did use the content aware sidebar on hrcromartie.com without any problems but I would still pstill prefer to code it myself.

    Thanks,

    Haynes and Renee

    #23164
    Bill Robbins
    Moderator

    You’re certainly welcome to hard code in a new widget area. This is the function to create a new widget area:


    (Be sure to copy that directly from the support site and not the notification email).

    Then to call it in a theme template file, you would use this:

    
    <?php dynamic_sidebar( 'new_sidebar' ) ?>
    

    Have a great day,
    Bill

    #23208
    Haynes Cromartie
    Participant

    Thanks!!!

    #23209
    Bill Robbins
    Moderator

    Anytime

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘register new sidebars’ is closed to new replies.