Number of Recent Posts limit

  • Author
    Posts
  • #107744

    Hi;
    I thought I posted this question yesterday but cant find it so maybe I did not hit send.

    TheStyle has coninuous scrolling but the list of Recent Posts on the RHS seems to be limited to 150. As this is my only index, I wonder if the limit can be increased or made continous too?

    cheers, Richard

    The blog I need help with is cinemusefilms.com.

    #107837

    kathrynwp
    Staff

    There’s no limit to the number of posts. When I scroll your front page, I’m able to go back all the way to your first welcome post, as you can see in this screenshot:

    https://cloudup.com/c-dlGiNf0pp

    With the type of “Masonry grid” (interlocking grid) that this theme has, you might need to scroll a little more slowly than usual to give time for the grid to readjust itself as more posts are added. If you scroll a little more slowly, can you see if you’re able to get to the end?

    #107880

    Thank you for replying kathrynwp.

    However my query relates to the possibility of increasing the limit of the list of Recents on the RHS of the page.

    I have 174 posts, but it stops listing them at 150. Can that limit be increased or made continuous like the grid.
    cheers
    Richard

    #107910

    kathrynwp
    Staff

    Are you referring to the “Recent Posts” widget? It’s currently set to display 150 posts – have you tried changing the value there?

    https://cloudup.com/ctSmfQmX0pB

    #107924

    Hi kathyrnwp

    I know about the value change tool, but it will not go beyond 150.

    Hence the point of my query is there code that can increase this or to make it continuous.

    cheers, richard

    #107925

    Just a bit of detail. The Recent Posts change value tool allows you to click to increase the value, but when I hit save it reverts to 150.

    #107942

    kathrynwp
    Staff

    Thanks for the additional info.

    I did some more research and it looks like there is a 150-post limit on the number of posts displayed per page throughout WordPress.com, both on pages and within the widget. This is for performance reasons, and can’t be changed.

    Options you might like to consider instead of listing all posts individually:

    – A category widget
    – An archive widget
    – A tag cloud

    I realize this isn’t the answer you wanted, but I hope it gives you some ideas.

    #107950

    Thanks for looking into this Kathryn.

    Movie title lists are like bookshelves; people dont look by category or year, just the name. Once you bury lists by category people lose interest in the search.

    The tag cloud idea would work if it could isolate film titles only, but I gather every tag ever used would appear?

    I guess that leaves the only real visual indexing function as the continuous page scrolldown.

    thanks for your time; cheers, richard

    #107971

    kathrynwp
    Staff

    The tag cloud idea would work if it could isolate film titles only, but I gather every tag ever used would appear?

    That’s right.

    I had one other idea, but it requires manual maintenance every time you add a new movie.

    You could keep your list in a text widget and add a new list item when you add a new movie. I put your current Recent Posts list in a Pastebin that you could copy out of here to get you started: http://pastebin.com/uCCvVFrU

    Not an ideal solution, but the only thing I can think of that would give you an approximation of what you have now, but allow you to include every single post.

    #107989

    What an interesting idea; I will research Pastebin and see how it goes.

    You have been helpful above and beyond the call of duty Kathryn; thank you.

    cheers, richard

    #107990

    kathrynwp
    Staff

    My pleasure, Richard! If you need further help with it, just let me know.

    #107991

    kathrynwp
    Staff

    I had one last idea you could try (based on an idea my colleague Chad had!) which doesn’t require you to manually update a list.

    The Display Posts shortcode – which itself has a limit of 100 posts – has a parameter that’s not in our documentation, which allows you to offset a set of posts. So you could try something like this:

    [display-posts posts_per_page="100"]
     [display-posts offset="100"]

    This would take care of your first 200 posts, and you could add another offset after reaching that amount.

    Let me know how it goes!

    #107992

    kathrynwp
    Staff

    p.s. the shortcodes would go in a text widget.

The topic ‘Number of Recent Posts limit’ is closed to new replies.