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