Title: Define Posts in Sidebar Widget
Last modified: August 21, 2016

---

# Define Posts in Sidebar Widget

 *  [gurmukh](https://wordpress.org/support/users/gurmukh/)
 * (@gurmukh)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/define-posts-in-sidebar-widget/)
 * Hi
 * I would like to select posts to show in all sidebars of post pages. I cant seem
   to find out how to do this. Ideally I would like some sort of dropdown that is
   dragged into a list. This list would then be visible across all sidebars on a
   post page.

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/define-posts-in-sidebar-widget/#post-4563653)
 * You would need to develop your own secondary Lopp with a custom query for this.
   See [http://codex.wordpress.org/Function_Reference/WP_Query](http://codex.wordpress.org/Function_Reference/WP_Query)
 *  Thread Starter [gurmukh](https://wordpress.org/support/users/gurmukh/)
 * (@gurmukh)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/define-posts-in-sidebar-widget/#post-4563657)
 * I understand how to query the database, but I want to create something in the
   admin tool that allows the user to select from a list which posts to add in the
   sidebar. How can this be done?
 * The only thing I’ve found is the Options add on for Advanced Custom Fields which
   stores all this information in the options table.
 * [http://www.advancedcustomfields.com/add-ons/options-page/](http://www.advancedcustomfields.com/add-ons/options-page/)
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/define-posts-in-sidebar-widget/#post-4563662)
 * You could base your query on a specific [custom field](http://codex.wordpress.org/Custom_Fields).
   That would allow the user to define which post are included in the final list.
   Which, I guess, is pretty much what that plugin offers but if you opt for a coded
   solution without the plugin, you could look at building your own custom meta 
   box in the admin area.
 *  Thread Starter [gurmukh](https://wordpress.org/support/users/gurmukh/)
 * (@gurmukh)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/define-posts-in-sidebar-widget/#post-4563669)
 * The problem with this custom field is that it is on a per post basis and I ideally
   want to define all posts to have this custom field form one page in the admin
   tool?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/define-posts-in-sidebar-widget/#post-4563672)
 * Sorry – I’ve not seen anything that can do this.

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

The topic ‘Define Posts in Sidebar Widget’ is closed to new replies.

## Tags

 * [post](https://wordpress.org/support/topic-tag/post/)
 * [Relationship](https://wordpress.org/support/topic-tag/relationship/)
 * [sidebar](https://wordpress.org/support/topic-tag/sidebar/)
 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/define-posts-in-sidebar-widget/#post-4563672)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
