RSS enclosures not working for custom post types
I’m having trouble getting a podcast working that’s running from the feed for a custom post type. The feed works, but there are no enclosures and therefore it’s not recognised as a podcast.
Things that work fine:
– enclosures on normal posts
– RSS feed for custom post type, at [site]/feed/?post_type=podcast
(feed works fine, displays link to audio files – no problems there)
WordPress’ automatic recognition of MP3 links doesn’t seem to be working for this custom post type…
Without the bother of creating a new post type to test, any suggestions about how I get to the bottom of this?
Here’s where I’ve got to so far…
rss_enclosure() uses data from get_post_custom().
Taking a look at this, I can see that my custom post type does not have an enclosure field in the meta data…
– Any ideas why?
- The topic ‘RSS enclosures not working for custom post types’ is closed to new replies.