1 reputation
1
bio website
location
age
visits member for 1 year, 9 months
seen Dec 1 '13 at 20:39

Oct
6
comment Applying if (get_post_meta) to new shortcode
Okay - I think I've found a solution. To use my original code and filter by taxonomy. That should work. Thanks for your help.
Oct
6
comment Applying if (get_post_meta) to new shortcode
Actually - looking at the code, it looks as though if the post meta doesn't exist, then show the content. However, what I want is for the content not to show at all if the display ad field is empty.
Oct
6
awarded  Editor
Oct
6
comment Applying if (get_post_meta) to new shortcode
Hi Abdussamad - I've just elaborated in the original post on your suggestions. Thanks :)
Oct
6
revised Applying if (get_post_meta) to new shortcode
Response to post
Oct
5
asked Applying if (get_post_meta) to new shortcode