[wp-hackers] Audio RSS enclosure problem

Bryan Harley bryanharley at gmail.com
Sat Mar 19 23:21:47 UTC 2011


So I have a client with a website for their podcast. To make it easy,
I just have them upload their audio file to a post and then use
get_children to grab the audio attachment and display it where I want
on the page.   That way they don't have to deal with custom fields or
inserting code or anything like that.

Only problem... WP will only auto-create the audio enclosure in the
RSS feed if you have the mp3 linked from the post content.  Since I'm
using attachments, it won't auto-create the enclosure.  Any ideas?


More information about the wp-hackers mailing list