[resolved] Display users search term on search.php (4 posts)

  1. liamjmoore
    Posted 7 years ago #

    Hi everyone. I think I've searched for this but can't find a solution anywhere. Basically, I want to display the search term/query on my search.php page that a user types in. Is it something simple that I'm missing?

  2. liamjmoore
    Posted 7 years ago #

    Still looking for a solution folks, nothing yet.

    As I said, I want whatever terms the user types in the search box to appear on my search results page. Anyone any ideas?

  3. liamjmoore
    Posted 7 years ago #

    Found the solution, all I had to do was put <?php the_search_query(); ?> in my search.php page.

    Sorry folks.

  4. thewpguru
    Posted 6 years ago #

    Hey Liam. Thank you for posting you self-found solution.
    It helped me. Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic