WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] How to access Query string?

[Resolved] How to access Query string?

  • Johnster
    Member

    @johnster

    Hey guys,

    I got a page like this examplesite.org/?s=as&cat=0&p=SE19&sa=Search . How do i access the variable in the search results page? Native PHP code doesn’t work. Sorry i’m new to wordpress and apologies if this pretty basic stuff. I need to retrieve value of cat, p and s. Appreciate your help.

    Thanks, S

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] How to access Query string?’ is closed to new replies.