「wordpress 4.4禁用embeds功能 移除wp-embed.min.js文件」的评论 https://www.iztwp.com/article/disable-embeds.html WordPress主题,WordPress模板,WordPress企业主题,WordPress主题下载 Wed, 07 Aug 2019 06:19:41 +0000 hourly 1 https://wordpress.org/?v=6.4.3 评论者:爱主题 https://www.iztwp.com/article/disable-embeds.html/comment-page-1#comment-237268 Mon, 13 Jun 2016 05:01:48 +0000 http://www.iztwp.com/premium/.html#comment-237268 回复给 久赢国际平台注册

建议直接安装插件:https://wordpress.org/plugins/disable-embeds/

]]>
评论者:久赢国际平台注册 https://www.iztwp.com/article/disable-embeds.html/comment-page-1#comment-237265 Thu, 09 Jun 2016 01:32:01 +0000 http://www.iztwp.com/premium/.html#comment-237265 复制了直接白屏

]]>
评论者:爱主题 https://www.iztwp.com/article/disable-embeds.html/comment-page-1#comment-237185 Tue, 16 Feb 2016 05:13:16 +0000 http://www.iztwp.com/premium/.html#comment-237185 回复给 Tony

想要知道有没有禁用成功首先需要知道这个功能的作用,他不仅仅是一段js文件可以实现的,Embeds的具体介绍可以参考官方文档:http://codex.wordpress.org/Embeds

]]>
评论者:Tony https://www.iztwp.com/article/disable-embeds.html/comment-page-1#comment-237184 Tue, 16 Feb 2016 04:03:39 +0000 http://www.iztwp.com/premium/.html#comment-237184 回复给 爱主题

可是哪里也看不到了,怎么知道没有禁用成功呢?源码里没有embeds了。

]]>
评论者:爱主题 https://www.iztwp.com/article/disable-embeds.html/comment-page-1#comment-237183 Tue, 16 Feb 2016 04:00:10 +0000 http://www.iztwp.com/premium/.html#comment-237183 回复给 Tony

你的方法从代码上看是移除了js文件,但是并没有禁用embeds功能

]]>
评论者:Tony https://www.iztwp.com/article/disable-embeds.html/comment-page-1#comment-237181 Thu, 11 Feb 2016 13:05:03 +0000 http://www.iztwp.com/premium/.html#comment-237181 管理学书籍http://www.12reads.cn直接用下面的代码就OK了,不需要这么麻烦吧?
add_action( ‘wp_print_scripts’, ‘my_deregister_javascript’, 100 );
function my_deregister_javascript() {
wp_deregister_script( ‘wp-embed’ );
}

]]>
评论者:爱主题 https://www.iztwp.com/article/disable-embeds.html/comment-page-1#comment-237169 Tue, 19 Jan 2016 05:14:49 +0000 http://www.iztwp.com/premium/.html#comment-237169 回复给 mr.liu

Crayon Syntax Highlighter

]]>
评论者:mr.liu https://www.iztwp.com/article/disable-embeds.html/comment-page-1#comment-237168 Sat, 16 Jan 2016 14:22:36 +0000 http://www.iztwp.com/premium/.html#comment-237168 请问这是用的什么代码高亮插件

]]>
评论者:Summer https://www.iztwp.com/article/disable-embeds.html/comment-page-1#comment-237157 Thu, 07 Jan 2016 10:52:44 +0000 http://www.iztwp.com/premium/.html#comment-237157 回复给 爱主题

找到原因了 数据库缓存插件,但是没有升级前 都没有这个问题,升级后就出现这个问题了。

请问贵站使用缓存插件了吗?

]]>
评论者:爱主题 https://www.iztwp.com/article/disable-embeds.html/comment-page-1#comment-237156 Thu, 07 Jan 2016 10:50:42 +0000 http://www.iztwp.com/premium/.html#comment-237156 回复给 Summer

是没有登录还是没有显示登录后的用户条呢

]]>
评论者:Summer https://www.iztwp.com/article/disable-embeds.html/comment-page-1#comment-237155 Thu, 07 Jan 2016 09:44:46 +0000 http://www.iztwp.com/premium/.html#comment-237155 升级4.4后,我在后台登陆跳转到首页依然还是显示没有登陆。怎么回事了

]]>
评论者:爱主题 https://www.iztwp.com/article/disable-embeds.html/comment-page-1#comment-237149 Thu, 24 Dec 2015 15:48:07 +0000 http://www.iztwp.com/premium/.html#comment-237149 回复给 聚宝盒

问题解决了,现在可以正常复制了

]]>
评论者:爱主题 https://www.iztwp.com/article/disable-embeds.html/comment-page-1#comment-237148 Thu, 24 Dec 2015 15:27:24 +0000 http://www.iztwp.com/premium/.html#comment-237148 回复给 聚宝盒

直接安装那个插件吧,代码换行有点问题

]]>
评论者:聚宝盒 https://www.iztwp.com/article/disable-embeds.html/comment-page-1#comment-237147 Thu, 24 Dec 2015 09:03:06 +0000 http://www.iztwp.com/premium/.html#comment-237147 你这个帖代码的不行啊,我复制了直接白屏,害我还原了之后一行一行复制出来。。。

]]>
评论者:爱主题 https://www.iztwp.com/article/disable-embeds.html/comment-page-1#comment-237139 Fri, 18 Dec 2015 14:34:58 +0000 http://www.iztwp.com/premium/.html#comment-237139 回复给 wp

额,好像是,看来要优化一下了

]]>
评论者:wp https://www.iztwp.com/article/disable-embeds.html/comment-page-1#comment-237138 Fri, 18 Dec 2015 09:17:04 +0000 http://www.iztwp.com/premium/.html#comment-237138 为什么这里复制代码不带换行符,还得手动添加换行。。。。

]]>