Title: Possible with wordpress? (Loop)
Last modified: August 22, 2016

---

# Possible with wordpress? (Loop)

 *  [Kabulcode](https://wordpress.org/support/users/kabulcode/)
 * (@kabulcode)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/possible-with-wordpress-loop/)
 * I have some categories and I want to show some more link posts on sidebar when
   a reader is on a single post on single.php
    And as well on a categoey archive
   I want to show 20 post links from that category on sidebar. Thanks 🙂

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

 *  [byanofsky](https://wordpress.org/support/users/byanofsky/)
 * (@byanofsky)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/possible-with-wordpress-loop/#post-5434093)
 * Yes. Certainly possible. You have two options. Either custom code a sidebar using
   php, or use widgets and plugins.
 * The first way is a bit more complex and hard to explain on a foru, but the other
   option can use a plugin that adds a widget that shows recent posts from a specific
   category: [https://wordpress.org/plugins/wp-recent-posts-from-category/](https://wordpress.org/plugins/wp-recent-posts-from-category/)
 * Then you will want to use a plugin to only show specific widgets on certain pages
   or posts. Jetpack has this built in: [http://jetpack.me/support/widget-visibility/](http://jetpack.me/support/widget-visibility/)
 * Hope this helps 🙂
 *  Thread Starter [Kabulcode](https://wordpress.org/support/users/kabulcode/)
 * (@kabulcode)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/possible-with-wordpress-loop/#post-5434465)
 * Thank you byanofsky 🙂
    Finally I agreed to use related posts instead. It is 
   easier.

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

The topic ‘Possible with wordpress? (Loop)’ is closed to new replies.

## Tags

 * [category](https://wordpress.org/support/topic-tag/category/)
 * [loop](https://wordpress.org/support/topic-tag/loop/)
 * [sidebar](https://wordpress.org/support/topic-tag/sidebar/)
 * [single](https://wordpress.org/support/topic-tag/single/)
 * [wp_query](https://wordpress.org/support/topic-tag/wp_query/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Kabulcode](https://wordpress.org/support/users/kabulcode/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/possible-with-wordpress-loop/#post-5434465)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
