在刚安装的时候,我无法访问‘’页面,它只是一直在等待&然后将我重定向到当前主题的404页。
我不知道什么地方出了问题,因为wordpress是新安装的。Wordpress版本为4.9.6 &我在主机上使用PHP7。
我尝试过为类似的问题提出解决方案,但无法解决。当我在安装插件页面时,我也会收到这条消息
Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have pro
我使用了两个wordpress插件WP-Cycle和NextGen-Gallery。这两个插件都使用jquery cycle插件。有什么方法可以在主题中避免这种情况吗?
我在firebug中看到以下错误:
[cycle] terminating; zero elements found by selector
我想这会导致我的另一个jquery脚本不能正常工作。
有问题的页面是:
运行不正常的脚本:
谢谢
我正在为wordpress开发一个在页面中加载javascript的插件。但是我希望这个插件只在选定的页面上加载。不是所有的页面。有人能建议一下如何做到这一点吗?下面是代码。
add_action('wp_enqueue_scripts', 'soundninja_enqueue');
function soundninja_enqueue($hook)
{
wp_enqueue_script('soundninja', // id
'http://soundninja.github.io/SNtest/build
我正在为WordPress制作超级简单的主题,我将jQuery附在上面如下所示:
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.js"></script>
并显示在页面源中。但是问题是,依赖于jQuery的插件不能在我的模板上工作,在Firebug控制台中,我得到了错误TypeError: $(...).flexslider is not a function,就好像jQuery没有加载一样。
我在结账页面wordpress中遇到了条纹问题。
当我想结帐我的订单时,我看到这个错误:
Uncaught TypeError: Cannot read property 'elements' of undefined
at HTMLDocument.<anonymous> (stripe.min.js?ver=4.1.13:1)
at i (jquery.js?ver=1.12.4:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
at Function.ready (jquery.js
我在wp-admin/post.php页面上得到一个Javascript错误,它阻止我添加标签/编辑帖子的链接。几乎所有关于JS的事..。无论如何,错误是:
> Error: d.delegate is not a function
> Source File:
> http://www.mysite.com/wp-admin/load-scripts.php?c=1&load=hoverIntent,common,jquery-color,schedule,wp-ajax-response,autosave,wp-lists,jquery-ui-core,jquer