WordPress.org

Ready to get started?Download WordPress

Forums

$_get and get_posts (2 posts)

  1. green_lemon
    Member
    Posted 8 years ago #

    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,

  2. jwurster
    Member
    Posted 8 years ago #

    Isn't that what the Search does in WP. Your theme has this facility already.

Topic Closed

This topic has been closed to new replies.

About this Topic