Support » Requests and Feedback » Sorry, no posts matched your criteria

Sorry, no posts matched your criteria

  • Hi. If the admin has set the number of blog posts to display on the main page [Options –> Reading –> Show the most recent x y] to be 0, the main page displays, “Sorry, no posts matched your criteria.”. Would it be better for WordPress to not display this message? It seems wrong for a user to be given this message when they haven’t entered any criteria.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Semantics, but, don’t you think that the number of posts if 0 would therefore be regarded as no posts – therefore if anyone made a search, the result would be there are no posts that match the criteria. The result is actually true.

    I think you can edit the message, however, but I don’t know where

    The message makes sense if the user entered a search and there were no results. But the message makes little sense when the user shows up at the web site and is immediately presented with this message, without having typed in any search. The latter is what happens when the admin options are set as I described.

    Moderator James Huff


    Why would you want zero posts displayed on your blog’s front page?

    ah that’s different then – if the user just enters the page and the search criteria is offered as 0 then that’s different – bu as macmanx asks, why is is set to 0? wouldn’t it be better to just remove it completely?

    Either the value 0 should work for that setting, or it should be disallowed, no?
    I want to display 0 blogs on that page because I want to access the blogs differently than the default method of displaying blogs on the main page. I want to display each user’s blog on a separate page.

    I have used a static index.php and then edited .htaccess to point the permalinks to ‘view.php’, same file as index.php but with The Loop.

    Moderator James Huff


    Just delete “The Loop” from index.php


Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Sorry, no posts matched your criteria’ is closed to new replies.
Skip to toolbar