Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #10663

    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 :

    Thanks guys!


    You can use plugins like 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.


    Thanks dude!



    Glad that I could help you :)

    Best regards,


Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Only Displaying "Categories" in the Sidebar for Posts and Categories’ is closed to new replies.