All Posts by Email, Once a Week

Media Temple logo

CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.

How to target specific archive and category page?

  • # July 25, 2012 at 9:40 pm


    I have been searching around, and have yet to find this answer.

    I have a WordPress site, and I’m looking to have custom sidebars for all of my pages, posts, archive/category ‘pages’, etc.

    I have code that’s working for pages and posts, but how do I target a specific archive page so that I can have 1 sidebar on one archive page and then another, different sidebar on a different archive page in the same category?

    For specifics, please review this thread here as I have laid out all of the details there already.

    I’m a real newbie to code, so thanks in advance for your help!

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed