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
1 Answer
Reset to default 0DELETE 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
版权声明:本文标题:video player - How to disable 'enclosure' custom field link from appearing in the post 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742310573a2450787.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论