WordPress.org

Ready to get started?Download WordPress

Forums

Popular Posts Tabbed Widget for Jetpack
Limit Number of 'Latest Posts" (3 posts)

  1. sarahjanes88
    Member
    Posted 5 months ago #

    When you click the latest posts tab it is displaying 23 posts.

    How do you limit it to like 5 posts?

    I can see you are able to do it for the 'popular' tab in the widgeted area of WP but not the 'latest tab'

    https://wordpress.org/plugins/popular-posts-tab-widget-for-jetpack/

  2. Ryann Micua
    Member
    Plugin Author

    Posted 5 months ago #

    The limit setting that you see in the widget setting is for all the list types - i.e. popular, latest and most commented.

    my guess is that a plugin (or the theme) has hooked into one of the post query filters i.e. pre_get_posts and is manipulating the number of returned posts for the "latest posts" list.

    The other 2 lists (popular and most commented) aren't affected because both do not use WP's post query functions to do so, but I bet if they did both would have the same problem.

    Is there a setting in the theme or a plugin where you had to set the number "23"?

  3. sarahjanes88
    Member
    Posted 5 months ago #

    No there is no setting in the theme.

    But the theme has some sort of ajax loading that pre loads posts, then you can press next. It must be loading all of those next posts in your tabbed widget but I have no idea how to fix it.

    This is the theme I am using and you will see what I mean when you open a post.

    http://demo.designwall.com/dw-fixel/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.