Title: jroger's Replies | WordPress.org

---

# jroger

  [  ](https://wordpress.org/support/users/jroger/)

 *   [Profile](https://wordpress.org/support/users/jroger/)
 *   [Topics Started](https://wordpress.org/support/users/jroger/topics/)
 *   [Replies Created](https://wordpress.org/support/users/jroger/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/jroger/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/jroger/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/jroger/engagements/)
 *   [Favorites](https://wordpress.org/support/users/jroger/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Posts per Cat] Widget number of headlines not updating](https://wordpress.org/support/topic/widget-number-of-headlines-not-updating/)
 *  [jroger](https://wordpress.org/support/users/jroger/)
 * (@jroger)
 * [12 years ago](https://wordpress.org/support/topic/widget-number-of-headlines-not-updating/#post-4711825)
 * hey there,
    i had the same problem. this is what i did to fix it:
 * >>> go to the post-per-cat plugin folder
    >>> inc > widget.php >>> search for:‘
   posts’ => (empty($instance[‘posts’]))?5:$instance[‘posts’], >>> and for: $posts
   = ( isset( $instance[ ‘posts’ ] ) ) ? $instance[ ‘posts’ ] : “5”; >>> change 
   the number of posts to whatever you want >>> upload your new widget.php
 * on my wesite it’s working.
 * remember to make a backup before trying!!
    good luck 🙂

Viewing 1 replies (of 1 total)