If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
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.
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.