Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #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 : http://med-websolutions.com/look-your-best-this-holiday-season/

    Thanks guys!

    #68897

    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.

    #68898

    Thanks dude!

    #68899

    Hi!

    Glad that I could help you :)

    Best regards,

    Peter

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.