Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/wordpress/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php Wordpress评论链接不起作用(#评论)_Php_Wordpress_Iframe - Fatal编程技术网

Php Wordpress评论链接不起作用(#评论)

Php Wordpress评论链接不起作用(#评论),php,wordpress,iframe,Php,Wordpress,Iframe,我已经把问题缩小到一个插件“Mailchimp社交Wordpress”。问题在于,当尝试使用位于文章评论部分正确位置的页面开始链接到文章的评论部分时,但当页面完成加载后,它会跳到文章页面的顶部。我认为问题可能与插件使用iframes有关,除了删除插件外,有人知道解决此问题的可能方法吗?注释widget.php中的html代码,如下所示修复了此问题 <script src="http://trentaughey.com/wp-content/plugins/mailchimp_social_

我已经把问题缩小到一个插件“Mailchimp社交Wordpress”。问题在于,当尝试使用位于文章评论部分正确位置的页面开始链接到文章的评论部分时,但当页面完成加载后,它会跳到文章页面的顶部。我认为问题可能与插件使用iframes有关,除了删除插件外,有人知道解决此问题的可能方法吗?

注释widget.php中的html代码,如下所示修复了此问题

<script src="http://trentaughey.com/wp-content/plugins/mailchimp_social_wp/templates/css/iframes/jquery.responsiveiframe.js"></script>


你的链接似乎在自动取款机上运行,没有跳到文章的顶部。是的,通过抑制插件中的javascript片段,成功地解决了这个问题。