Support » Fixing WordPress » How to access Query string?

  • Resolved Johnster

    (@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 ‘How to access Query string?’ is closed to new replies.