• Hi thanks for the plugin. On clicking on a search result the user is sent to the single post page. How can I get the get the search term entered by user with php ? Like get_search_query()?

Viewing 1 replies (of 1 total)
  • Plugin Author wpdreams

    (@wpdreams)

    Hi,

    If you have the keyword highlighting active, then there is actually a way to get that information via:

    $_GET['asl_highlight']

    Otherwise the phrase is not possible to retrieve via PHP, as that information is not sent during redirection when clicking on any anchor link.

    All the best,
    Ernest

Viewing 1 replies (of 1 total)
  • The topic ‘Get the search term entered by user’ is closed to new replies.