I cannot get my sidebars to show up in the wordpress admin
-
I built a site for a friend in wordpress and created a custom theme but based it off a simple 2 column theme. https://abledbody.com/
I have 3 sidebars in total on the site, sidebar-home.php [for the home page], sidebar-posts.php, for all individual post pages and sidebar.php for every other page [the category/tag/static pages/etc.]
What I want to be able to do is have the three sidebars accessible in the wordpress admin so that beyond what is hardcoded there now that my friend can go in and add things like tag clouds or blogrolls, etc as she sees fit. Unfortunately the widgets pages says I only have sidebar1.
I thought to register my three sidebars I use the following code in functions.php
if ( function_exists('register_sidebar') ) register_sidebar(3);
I also call the sidebars where needed with
get_sidebar('home');
or similar.I must be missing something pretty easy. Help?
- The topic ‘I cannot get my sidebars to show up in the wordpress admin’ is closed to new replies.