How to Hard Code Custom Sidebar Code Into A Specific Sidebar
I’m using a copy of bp-default that I call bp-default-members. I also copied bp-sn-parent and modified style.css so that the theme uses bp-sn-parent-members.
I see where the sidebars are registered in functions.php, and I’ve looked through sidebar.php, and what I’d like to know is:
Where do I put the code to hardcode each sidebar? Which file?
If it’s sidebar.php, can you give me a code example of, for example, listing categories in the ‘second-section’
<li id=”categories”><?php _e(‘Categories:’); ?>
<?php wp_list_cats(); ?>
…now…where do I put it, and how do I specify which sidebar it goes into?
You must be logged in to reply to this topic.