
When you’re adding a multimedia file as such as a mp3 or flv file, WordPress automatically create a custom field named enclosure and add the media url to your rss feed. Great for podcasters, but unusefull for most bloggers. Let’s see how to get rid of it.


















11 Responses
Wow, this is what could be called very very detailed hack. I would never think of this problem, although it can be surely very useful for wp media sites.
I’ve haven’t seen this issue before.
Pretty decent and simple addition to the code. Figuring if what will be the effect of it for the podcasters on the other end.
looks really interesting..!
how can i do this that when i post new article in my blog after posting i returned to post a “new post” page ?
currently i am returning to the Update post page
@sms: I knew a method to do that, but it wasn’t recomended as it required you to edit one of WP core files.
If you are not a Podcaster this tip is welcomed. Thanks
Hi,
I used your code because I wanted to manually set my enclosures…But with the code as it is, iTunes does not pick up the .mp3’s that I have set enclosures thru the WP Admin (Custom Fields). Is there a modification to the code so that files that I set enclosure tags to are recognized? Thanks in advance.
This hack SAVED my membership site. Now unpaid visitors can’t look at the RSS feed and watch the protected video tutorial files I’ve posted.
Thanks a million!!
I get an error when I add this code. At what point in the file does it need to go in?
Thanks!!
I’m also getting an error, any help appreciated
Trackbacks: