在Chrome中添加幻燈片後在NextGen Gallary插件中出現錯誤代碼。 Sildeshow頁面中的錯誤部分?我找不到此頁面。 在頁腳中附加jQuery i鏈接。與我的jQuery文件有衝突嗎?在wordpress中使用NextGen Gallery插件運行幻燈片時出現JQuery錯誤
請參閱所附圖片和代碼screenshot of error
JQMIGRATE: Migrate is installed, version 1.4.1
slideshow:212 Uncaught TypeError: jQuery(...).nggShowSlideshow is not a function
at HTMLDocument.<anonymous> (slideshow:212)
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?ver=1.12.4:2)
at HTMLDocument.K (jquery.js?ver=1.12.4:2)
(anonymous) @ slideshow:212
i @ jquery.js?ver=1.12.4:2
fireWith @ jquery.js?ver=1.12.4:2
ready @ jquery.js?ver=1.12.4:2
K @ jquery.js?ver=1.12.4:2
<script type="text/javascript">
jQuery('#ngg-slideshow-8c3cff8f8dc2fd0d87b86cbcbb01a9eb-207510-image-list').hide().removeClass('ngg-slideshow-nojs');
jQuery(function($) {
jQuery('#ngg-slideshow-8c3cff8f8dc2fd0d87b86cbcbb01a9eb-207510').nggShowSlideshow({
id: '8c3cff8f8dc2fd0d87b86cbcbb01a9eb',
fx: 'fade',
width: 1000,
height: 600,
domain: 'https://localhost/marc1/',
timeout: 10000 });
<script type="text/javascript">
jQuery('#ngg-slideshow-8c3cff8f8dc2fd0d87b86cbcbb01a9eb-207510-image-list').hide().removeClass('ngg-slideshow-nojs');
jQuery(function($) {
jQuery('#ngg-slideshow-8c3cff8f8dc2fd0d87b86cbcbb01a9eb-207510').nggShowSlideshow({
id: '8c3cff8f8dc2fd0d87b86cbcbb01a9eb',
fx: 'fade',
width: 1000,
height: 600,
domain: 'https://localhost/marc1/',
timeout: 10000 });