Attila Fulop
Forum Replies Created
-
@pattiearnold: in your case the ngg css and javascript isn’t included in the page’s source, you should be having a line something like:
<script type="text/javascript" src="https://otbstuff.com/wordpress/wp-content/plugins/nextgen-gallery/js/ngg.slideshow.min.js?ver=1.06"></script>
Dow you have
<?php wp_head(); ?>
in the template header? (typically header.php)Well, in my case the wp_head() is there. Moreover, the problem is on the backend, that shouldn’t be affected by the frontend template’s header. (Other parts of the theme have influence on the backend)
I’m having the same problem. As a start on the Gallery -> Overview page there is a plugin check box that says that either my theme or one of the plugins conflicts with the gallery. Do you also have this warning?
The ” trick didn’t work for me, however the following trick did it:
1.) I padded the links with a space:
<a class="fancybox" href=" #testing ">testing</a>
This prevents the GA plugin to recognize and change it2.) I added a piece of javascript after all the elements
<script type="text/javascript"> jQuery('a.fancybox').each(function() { jQuery(this).attr('href', jQuery.trim(jQuery(this).attr('href'))); }); </script>
This removes the space and now the links work as expected.
Please note that it only works until GA plugin developers will trim the links (that’d make sense).
ok, solved it:
get_footer() was called but no wp_footer() right before the body.
I overlooked it.
Added wp_footer() call in footer.php, now it works like charm.I investigated the do_js() function and also checked these:
Admin is not limited,
Tried with a non-admin user
Comments are open for postand the script still doesn’t get added.