Network Latest Posts
[resolved] More columns and max. post limit (2 posts)

  1. uros_m
    Posted 3 years ago #


    I would like to create four columns instead of two and limit the total number of posts shown. So for example I would like to show 1 post from each blog but not more than 12 in total and put those in 4 columns, 3 posts each.

    I've been looking at the source files but I fall short of finding a solution. I'm afraid it's a bit too hardcore for me to figure it out on my own. But give me a few hints and I'm sure I can manage.




  2. Jose Luis SAYAGO
    Plugin Author

    Posted 3 years ago #

    Hello UroŇ°,

    You don't need to touch the code for that, just play with NLPosts parameters and CSS to accomplish what you want.

    To limit the total number of posts you must use the sorting parameters: 1 post from each blog, no more than 12 in total looks like this:

    [nlposts number_posts=1 sort_by_date=true sorting_limit=12]

    It will pull 1 post from all blogs, limiting to the first 12 blogs with most recent content.

    Regarding your question about the columns, it is easily accomplished using CSS, just create a custom CSS file, upload it to your active theme directory and use it, here is an example with 3 columns I just created to point you in the right direction: CSS Columns


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Network Latest Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic