Support » Plugin: Recent Posts Widget Extended » Post limit not working

  • Great plugin! I’m really looking forward to getting this working on my site! My difficulty is, regardless of the number I input for the “Limit” field, the widget displays 20 posts. Ideally, I’d only like to display 4 or 5 posts on my site. Any suggestions?

    In case it helps, I am running WordPress 3.6 and I’m trying to put the widget on my homepage ( I’m also using a third party theme (from Elegant Themes), perhaps this is the culprit? Sadly, I’m back to using a boring list of recent posts for now until I get this ironed out :-).

    Thanks for your help!


Viewing 6 replies - 1 through 6 (of 6 total)
  • Are you using the latest version 0.8?

    Hey great plugin, but I am currently dealing with the same issue.
    The version is 0.8.

    We tried to hardcode the limit to 3 by modifying the php of the plugin but we couldnt get it to work.
    Could you help us with that?

    Thanks in advance!

    Sorry for late reply, it seems both of you used a conflicted theme with the plugin. If you don’t mind, could you tell me what theme are you using?

    Hello, sorry my computer was broken and I was sick.

    The theme is “The Source” by Elegant Themes.

    It would be awesome if you could help me out with a fix for this issue if you are online.

    Thanks for the great support!



    I am experiencing the same issue but with the twenty thirteen theme. I have chosen to display 5 posts, but it is displaying about 30. My issue appears to be that I chose a category, ‘news’, to display; however, all posts labeled ‘news’ are also labeled with another category. What seems to be happening is that the plugin is display 5 posts from EACH category, not just the latest 5 posts from the news category. If I remove a choice of category it only displays 5 posts.

    Hey! I managed to find the issue! Is not the widget’s fault.

    In the line 69 of “widget-recent-posts-extended.php” it uses ‘numberposts’ as the function to define the number of posts is going to show. This is correct as this is how is done now, but apparently our old themes work with the deprecated ‘showposts’ instead.

    The ways of fixing it are updating to newer themes or changing that specific line from ‘numberposts’ to ‘showposts’ and will work as expected.


Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Post limit not working’ is closed to new replies.