Title: Displaying In Sidebar
Last modified: May 15, 2024

---

# Displaying In Sidebar

 *  [willnev](https://wordpress.org/support/users/willnev/)
 * (@willnev)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/displaying-in-sidebar/)
 * Hi – I was wondering if there is a way to use this plugin to display posts from
   specific categories in different sidebars using A Text or HTML widget. 
   For example,
   I have 1 sidebar called Home page and it only appears on the “Home page” and 
   displays ALL posts no matter what the category is. Then I have a 2nd Sidebar 
   called “Features” and it only appears on the Feature’s page and displays all 
   posts that are categorized as “Features”. When I add a unique short code to each
   sidebar (using either a text widget or an HTML widget, the shortcodes automatically
   update so that they match. For example, if I add [display-posts category=”features”]
   in the “Features” sidebar and then add [display-posts] in the “Home Page” sidebar,
   once I save, they BOTH change to [display-posts].
 * Any idea why this might be happening or how I can fix it?
 * Thank you very much in advance for your help!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * (@billerickson)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/displaying-in-sidebar/#post-17756982)
 * It sounds like this might be an issue with your theme. Adding the shortcode to
   one sidebar should not change it in another sidebar. That’s not standard WP functionality,
   so maybe your theme has some custom code to try and sync the sidebars?
 *  Thread Starter [willnev](https://wordpress.org/support/users/willnev/)
 * (@willnev)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/displaying-in-sidebar/#post-17757213)
 * Thank you for your quick response. I’m using the pro version of Astra so I’ll
   open a ticket with them to see if we can determine what’s causing the issue.
 * Thanks again!!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Displaying In Sidebar’ is closed to new replies.

 * ![](https://ps.w.org/display-posts-shortcode/assets/icon-256x256.jpg?rev=2940963)
 * [Display Posts - Easy lists, grids, navigation, and more](https://wordpress.org/plugins/display-posts-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/display-posts-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/display-posts-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/display-posts-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/display-posts-shortcode/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [willnev](https://wordpress.org/support/users/willnev/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/displaying-in-sidebar/#post-17757213)
 * Status: not resolved