in WP search result page is
http://www.aaa.com/search/pisanggoreng
or ?s=pisanggoreng
how can i capture this "pisanggoreng" as a variable?
Sorry I am newbie .. and my questions is silly
cheers,
in WP search result page is
http://www.aaa.com/search/pisanggoreng
or ?s=pisanggoreng
how can i capture this "pisanggoreng" as a variable?
Sorry I am newbie .. and my questions is silly
cheers,
Try <?php echo $s; ?> I think that will output what you want. Or just the $s bit if you don't want to print the result.
This topic has been closed to new replies.