• I have a feeling it’s something to do with what appears in the address field of the browser, but I’m not sure how to grab that, then display it into the sentence:

    No posts found which match ( User’s Search Terms ).

    Thank you for any ideas on this!

    wplearner

Viewing 2 replies - 1 through 2 (of 2 total)
  • You only need to add this <?php the_search_query(); ?> where you want to put the search term

    Thread Starter wplearner

    (@wplearner)

    Thank you, Deepanker..that worked beautifully!

    so, judging by the php line you provided, the search terms are not taken from the address field, but directly from the search input itself..

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to insert User Search terms into "No matching terms found"’ is closed to new replies.