admin管理员组

文章数量:1332872

Seems like there is no way to delete the custom field 'enclosure' (if I delete it in a post, as soon as I press update it will appear again).

OK, but how can I remove the link to the video file (my-vide.flv), which is added automatically in the post? (this custom field adds it when a video is present in the post)

I have no code that would call this custom field.

Can't find anything on the internet about this. I just found a code to remove the direct link to the video (which allows downloads) from feeds, but not from the post itself.

Seems like there is no way to delete the custom field 'enclosure' (if I delete it in a post, as soon as I press update it will appear again).

OK, but how can I remove the link to the video file (my-vide.flv), which is added automatically in the post? (this custom field adds it when a video is present in the post)

I have no code that would call this custom field.

Can't find anything on the internet about this. I just found a code to remove the direct link to the video (which allows downloads) from feeds, but not from the post itself.

Share Improve this question edited Jul 4, 2016 at 13:09 cjbj 15k16 gold badges42 silver badges89 bronze badges asked Dec 3, 2014 at 17:10 vyperlookvyperlook 1775 silver badges24 bronze badges 2
  • 3 your theme or a plugin is doing this, you'll have to figure out where it's happening and ask whomever wrote the theme/plugin. – Milo Commented Dec 3, 2014 at 17:26
  • so it's not Wordpress which is adding the custom field? Hmm that's interesting, I read that WP was doing this. thanks – vyperlook Commented Dec 3, 2014 at 18:05
Add a comment  | 

1 Answer 1

Reset to default 0
DELETE FROM wp_postmeta WHERE meta_key = "enclosure";

Open the MYSQL database window. Select the database. Open the SQL code insert window. Add this code in the text box. Click the GO button. The problem is solved.

本文标签: video playerHow to disable 39enclosure39 custom field link from appearing in the post