WordPress.org

Forums

Recent Posts Widget Extended
Post limit not working (7 posts)

  1. klderose
    Member
    Posted 2 years ago #

    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 (http://planets.ucla.edu). 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!

    -Kim

    http://wordpress.org/plugins/recent-posts-widget-extended/

  2. Satrya
    Member
    Plugin Author

    Posted 2 years ago #

    Are you using the latest version 0.8?

  3. lautaro.minelli
    Member
    Posted 2 years ago #

    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!

  4. Satrya
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,
    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?

  5. lautaro.minelli
    Member
    Posted 1 year ago #

    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!

  6. Susan
    Member
    Posted 1 year ago #

    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.

  7. lautaro.minelli
    Member
    Posted 1 year ago #

    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.

    =)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.