Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jose Luis SAYAGO

    (@iluminatus)

    Hello hollyhallacademy,

    I see you’re setting time_frame which could be the cause, 100 days is something like 3.2 months, and the oldest post listed was published on June 3, which makes sense.

    I’m wondering, have you tried not setting time_frame so the plugin pulls all your articles?

    Could you please try with the shortcode below?

    [slposts title="Latest News"
         category=news
         title_only=false
         excerpt_length=100
         number_posts=100
         auto_excerpt=true
         thumbnail=true
    ]

    Looking forward to your feedback.

    I was not limiting the number of posts and it was showing only 10 articles (I just noticed).

    So now I added this “number_posts=1000” and it is showing all the 14 articles that I have.

    My question is: how may I have no limit, once if I do not mention number_post it limits in 10?

    Plugin Author Jose Luis SAYAGO

    (@iluminatus)

    Hello, number_posts is set to 10 by default. You could set it to -1 to pull all posts from database, something like:

    [slposts number_posts=-1 ...other parameters...]

    Thing is, when I created this plugin the main idea was feature the most recent posts. However, I soon realized people who have used Single Latest Posts or Network Latest Posts prefers to use it instead of hacking their themes or creating custom templates to pull posts the way they want, so number_posts in those cases became useless.

    I think setting number_posts=-1 should do the trick, I’ve tested this in my dev environment and it works but I’m looking forward to your feedback, helpfully you can confirm this.

    Yes, it seems work, at least my 14 articles are showed there, as you can see on https://www.immiflex.com/ImmiNews-wellmune/ (archive)

    Thank you very much again!

    Take care!

    Thread Starter hollyhallacademy

    (@hollyhallacademy)

    Hi Jose,

    Removing the excerpt_length worked, thanks. I’m a bit worried now that over time these will build up into thousands of posts and the page load times will become unmanageable.

    Do you have any tips on how to manage this? Maybe categorizing them into months similar to how blogger does it?

    Thanks again.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Only showing 18 posts’ is closed to new replies.