• Resolved liamjmoore

    (@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)
  • Thread Starter liamjmoore

    (@liamjmoore)

    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?

    Thread Starter liamjmoore

    (@liamjmoore)

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

    Sorry folks.

    thewpguru

    (@thewpguru)

    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.