WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] query based on post_meta (4 posts)

  1. Rami Yushuvaev
    Member
    Posted 5 years ago #

    how can i show only the posts that have the post_meta ICON=01.gif ?

  2. MichaelH
    Member
    Posted 5 years ago #

    Is the template tag, query_posts(), Custom Field Parameters, example of query_posts('meta_value=ICON=01.gif '); sufficient?

    Note: good work on all the conditional tags in Codex!

  3. Rami Yushuvaev
    Member
    Posted 5 years ago #

    thanks!

  4. Rami Yushuvaev
    Member
    Posted 5 years ago #

    fixed code:

    query_posts('meta_key=ICON&meta_value=01.gif');

Topic Closed

This topic has been closed to new replies.

About this Topic