WordPress.org

Ready to get started?Download WordPress

Forums

Network Latest Posts
[resolved] number_posts (5 posts)

  1. aero.roger77
    Member
    Posted 1 year ago #

    When I set the number of posts I get way more than I choose. It seems like when I put 5 there it doesnt get 5 latest posts, but 5 latest posts from each blog in the network.

    How can I fix this ?

    http://wordpress.org/extend/plugins/network-latest-posts/

  2. Jose Luis SAYAGO
    Member
    Plugin Author

    Posted 1 year ago #

    Hello, that's indeed the way it was meant to be. That's why you must combine the post limit with the sorting parameters, for example:

    [nlposts number_posts=5 sort_by_date=true sorting_limit=5]

    It will limit the total number of posts to 5 and sort them by date (newest to oldest). In other notes section you can read a short description of sorting parameters http://wordpress.org/extend/plugins/network-latest-posts/other_notes/.

    Cheers.

  3. aero.roger77
    Member
    Posted 1 year ago #

    Hmm, can I put this in a page too ? I didnt know that, was just using the widget lol :)

    Thanks

  4. aero.roger77
    Member
    Posted 1 year ago #

    where can I learn more about the shortcodes ?

  5. Jose Luis SAYAGO
    Member
    Plugin Author

    Posted 1 year ago #

    I'm working to improve the doc, until it's ready you can check this link where you'll find examples of usage (along with short descriptions) http://testlab.8elite.com/.

    Best regards.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.