get_post_metadata() undefined when used in loop in RSS template
To modify an RSS item’s <link> node value, use the the_permalink_rss filter. This is demonstrated in the code below where if a feature post has a value set for _featureurl, we will return the custom value. Otherwise, the default permalink is returned: /** * Filters the permalink to the post for use in feeds. * … Read more