Title: Limit sidebar posts (widget missing?)
Last modified: August 18, 2016

---

# Limit sidebar posts (widget missing?)

 *  Resolved [iusbpreface](https://wordpress.org/support/users/iusbpreface/)
 * (@iusbpreface)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/limit-sidebar-posts-widget-missing/)
 * Hey Guys, thanks for reading.
 * I am trying to limit the number of recent posts in my sidebar from 25 to 5.
 * This is what the code looks like for my theme editor:
 *     ```
       <div id="postings"><?php the_recent_posts('title= '); ?></div>
       ```
   
 * I’ve read the forums, and some have suggested to others that they could find 
   their answers in wp_content > pugins > widget > widget.php.
 * BUT I don’t have that file! There isn’t even a “widget” folder in my plugins 
   section (although I did add one later).
 * Any help?

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

 *  [lexhair](https://wordpress.org/support/users/lexhair/)
 * (@lexhair)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/limit-sidebar-posts-widget-missing/#post-549990)
 * The `the_recent_posts` tag is supported by the [Fuzzy Posts plugin](http://www.semiologic.com/software/recent-posts/)
   not natively by wordpress.
 * Use a widget ready theme, activate this plugin and you can configure it any way
   you like using the Options in the Admin page. If your theme isn’t widget ready,
   you’ll have to ask the author of the plug in how to configure that argument. 
   It’s not obvious in the documentation.
 * Widget folder is in any WP install package in the wp-content folder.
 *  [lexhair](https://wordpress.org/support/users/lexhair/)
 * (@lexhair)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/limit-sidebar-posts-widget-missing/#post-549991)
 * Oops..bad advice. Get [the widget folder here](http://automattic.com/code/widgets/).
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [19 years, 2 months ago](https://wordpress.org/support/topic/limit-sidebar-posts-widget-missing/#post-549996)
 * > _I am trying to limit the number of recent posts in my sidebar from 25 to 5.
   > 
   > This is what the code looks like for my theme editor: `<div id="postings"><?
   > php the\_recent\_posts('title= '); ?></div>`
 * Just change your code to this:
    `<div id="postings"><?php the_recent_posts('max_num
   =5&title= '); ?></div>`
 * If you’re not using widgets, then you wouldn’t expect there to be a widgets folder.
   And frankly, your problem has nothing to do with widgets in the first place, 
   so I’m not sure why you even brought it up…
 *  Thread Starter [iusbpreface](https://wordpress.org/support/users/iusbpreface/)
 * (@iusbpreface)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/limit-sidebar-posts-widget-missing/#post-550149)
 * Awesome guys, thanks very much!
 * I mentioned widgets simply because my advance research revealed that several 
   other people had the same apparent problem as I did. However, each of them were
   told to go to their widget folder and make adjustments. Otto, your answer was
   much easier!

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

The topic ‘Limit sidebar posts (widget missing?)’ is closed to new replies.

## Tags

 * [limit](https://wordpress.org/support/topic-tag/limit/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [iusbpreface](https://wordpress.org/support/users/iusbpreface/)
 * Last activity: [19 years, 2 months ago](https://wordpress.org/support/topic/limit-sidebar-posts-widget-missing/#post-550149)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
