register new sidebars
URL to the page in question:
http://church.haynesandrenee.com
-
How do you register new sidebars in your functions.php?
Thanks,
Haynes
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
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
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
- The topic ‘register new sidebars’ is closed to new replies.