Support » Fixing WordPress » Display users search term on search.php

  • Resolved liamjmoore


    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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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?

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

    Sorry folks.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Display users search term on search.php’ is closed to new replies.