Title: Different Sidebar Content
Last modified: August 30, 2016

---

# Different Sidebar Content

 *  [wookie03](https://wordpress.org/support/users/wookie03/)
 * (@wookie03)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/different-sidebar-content/)
 * Hello,
 * I am trying to create two sidebar files. I have succeeded in making the two php
   files and calling the second sidebar on the page I want it to display on.
 * Here is where I am lost:
    Each page needs to show an archive of posts specific
   to a certain category.
 * Page One needs to show a sidebar with a monthly archive for posts made in category“
   A”.
 * Page Two needs to show a second sidebar with monthly archive posts that were 
   made in category “B”.
 * Can someone please help me with the code that I need to place in my “sidebar”
   files for each of these category archives to be displayed separately?
 * Thank you 🙂

The topic ‘Different Sidebar Content’ is closed to new replies.

## Tags

 * [category](https://wordpress.org/support/topic-tag/category/)
 * [post](https://wordpress.org/support/topic-tag/post/)
 * [query](https://wordpress.org/support/topic-tag/query/)
 * [sidebar](https://wordpress.org/support/topic-tag/sidebar/)

 * 0 replies
 * 1 participant
 * Last reply from: [wookie03](https://wordpress.org/support/users/wookie03/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/different-sidebar-content/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
