WordPress.org

Ready to get started?Download WordPress

Forums

Search Loop Not Returning Pages (1 post)

  1. nrutman
    Member
    Posted 3 years ago #

    So I'm trying to create a custom search results page, but for some reason the have_posts() on search.php is only returning TRUE if there are posts that match the query...it's not showing pages that match the query.

    I haven't done extra development regarding search. Has anyone else had this problem, or can you think of any common reasons why this might occur?

Topic Closed

This topic has been closed to new replies.

About this Topic