Support » Themes and Templates » How can I move my “Categories” up the sidebar?
10 years ago
I cannot figure out how to move the Categories section up the sidebar. I want it under the “About This Site” box. Any thoughts are appreciated. The themes is Connections.
I am getting some where.
I edited sidebar.php and cut and paste the Categories section so it is now at the top of the sidebar stuff.
However, it appears that “Links” is on index.php – is this right? Here is that code:
<h2><?php _e(‘About the Site:’); ?></h2>
<h2><?php _e(‘Links’); ?></h2>
‘, ‘ ‘); ?>
<?php get_sidebar(); ?>
I do not know about any of this stuff – I am assuming that get_sidebar inserts all of the sidebar stuff so I cannot moke the Links box down into the sidebar?
If you want to make your life easier, install the Sidebar Widgets plugin. Most recent themes work well with this plugin, although I don’t know about Connections.
Then, you can easily move things in your sidebar around just by going to your admin menu (presentation » widgets).
Paste your entire sidebar.php code at:
then post the link back here with the specific order you want things to show up on your sidebar.
Here is how I want it:
the rest does not matter…
I would follow adamrbrown’s advice and take a look at the Sidebar Widgets plugin. It will let you drag and drop your sidebar items really easily once you have it set up.
But to address your question, try copy-pasting the “about the site” and “links” (leaving the div where it is) code into sidebar.php, into the location where you want them to appear.
Thanks folks. I changed my theme to one that can handle the Sidebar Widgets. Perfect.