Get “is_featured” value for adverts
-
I’m trying to add the “is_featured” value that can be set in the publishing options of the advert-posts into an RSS feed.
It seems the value isn’t included by getting all post meta information with
get_post_meta( get_the_ID()).
Trying to get the value with possible combinations likeget_post_meta( get_the_ID(), "is_featured", true );don’t seem to work either.How can I read the “is_featured” extension set for an advert to dump the boolean value of the checkbox, or add it as a value to my RSS construct in my case?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Get “is_featured” value for adverts’ is closed to new replies.