• Resolved redcaiman

    (@redcaiman)


    hi. other easy one.
    i need a loop. that only show post with a custom field “featured” with key not empty.

    in other words if i fill the custom field “featured” with any value i want to show this post. if are empty i dont want to show this post.

    well i try to explain. i hope some can help. i know that is a easy one.
    thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter redcaiman

    (@redcaiman)

    well again in other words

    i need a loop to get posts with (meta_key=”featured”) with (meta_value= not empty)
    or best say

    i need a loop to get posts with (meta_key=”featured”)

    thannks

    Thread Starter redcaiman

    (@redcaiman)

    yea well if someone are looking something like this i get it with this query
    $featuredPosts->query(‘showposts=7&cat=4,7,8,10,11 & meta_key=destacado’);

    where destacado is a meta key value

    thanks good day

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘custom field’ is closed to new replies.