I need to display a post which matches the query string using $_get.
E.g. http://www.domain.com/?id=a_word
Search within all posts title for phrase "a word" and display the_content.
Is this possible, if so, how so?
Thanks in advance,
I need to display a post which matches the query string using $_get.
E.g. http://www.domain.com/?id=a_word
Search within all posts title for phrase "a word" and display the_content.
Is this possible, if so, how so?
Thanks in advance,
Isn't that what the Search does in WP. Your theme has this facility already.
This topic has been closed to new replies.