I was wondering if there was a way to edit the sidebar.php to only display “Categories” across all of my posts and categories.
I am creating a custom widget area for each page so I have my pages displaying how I want them too.
My goal is to consistently only show my categories in the sidebar for each of my category and post pages. Right now it displays Archives, Categories and Pages.
An example can be seen here : http://med-websolutions.com/look-your-best-this-holiday-season/
You can use plugins like widget logic: http://wordpress.org/extend/plugins/widget-logic/ – it allows you to include/exclude widgets based on conditional tags. Eg you can use:
is_single() || is_archive()
to display widgets on posts/archive pages only.
The topic ‘Only Displaying "Categories" in the Sidebar for Posts and Categories’ is closed to new replies.