• vfaction

    (@vfaction)


    Hi, new to WP and currently going mad trying to figure out the query loop block on a very simple blog.

    Currently it will only let me display three posts per page. If I adjust the number of items per page in the display settings, it removes all posts entirely and just comes up with a “no results found” message.

    The max number of posts per page is set to 10 under settings > reading, so I’m not sure why this is happening. Hopefully an easy fix due to my lack of knowledge…

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator bcworkz

    (@bcworkz)

    There should be a field in the query loop settings for the number of posts to show, but I’m not seeing it in the WP current version (6.4.1). This might be a bug, further investigation is needed.

    As a work around, you can use the code editor (from the 3 dot icon’s menu) to directly edit the block’s settings. Search the page’s content for <!-- wp:query. Right below this should be "perPage":3,. Alter the 3 to the number you want. Update the the page and exit the code editor.

    Moderator bcworkz

    (@bcworkz)

    Ignore my previous advice even though it would work. I found where the desired post count setting is. At some time in the past it was moved from the settings sidebar to the floating toolbar. I was initially looking at the post template toolbar which doesn’t have the setting we need. Be sure you’ve selected the query loop toolbar which as align and display settings tools. Click the display settings item and you’ll be able to specify the post count there.

    ?I found where the desired post count setting is. At some time in the past it was moved from the settings sidebar to the floating toolbar.?

    @bcworkz

    thanks for making this post – was driving me crazy too

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Query loop won’t display more posts per page’ is closed to new replies.