Remove WordPress scripts

What Theme are you using? Your question is entirely Theme-dependent, so specific answers will requiring knowing what Theme you use. (Also, it would be helpful to know if any of your Plugins are injecting scripts.) The answer really depends on how those scripts and scripts are called. If they are called properly, they are registered … Read more

Trying to remove duplicate jquery scripts

When you load jquery from WordPress includes, you will need to use jQuery instead of the dollar sign $, as the latter is reserved for other libraries. jQuery( document ).ready(function( $ ) { // Submitform and colorbox init, both will work here. }); But also make sure to avoid the script tags as much as … Read more

How can I make this custom menu work?

You need to target the appropriate theme_location. Assuming you’ve defined multiple nav menu locations using register_nav_menus() in functions.php: <?php register_nav_menus( array( ‘primary-menu’ => ‘Primary Menu’, ‘secondary-menu’ => ‘Secondary Menu’ ) ); ?> Then you call wp_nav_menu() using the appropriate theme_location as defined above, along with any other relevant arguments, e.g.: <?php wp_nav_menu( array( ‘theme_location’ => … Read more

How I got jQuery Quicksand working with WordPress?

Not sure it is entirely your problem, but you have a syntax error here: <script src=”https://wordpress.stackexchange.com/questions/32648/<?php bloginfo(“template_directory’); ?>js/jquery.easing.js”></script> …you need to add the trailing slash to bloginfo(‘template_directory’), like so: <script src=”https://wordpress.stackexchange.com/questions/32648/<?php bloginfo(“template_directory’); ?>/js/jquery.easing.js”></script> EDIT Looking at your browser source, your loop markup is working properly, but your quicksand script link doesn’t appear to be output … Read more

Implementing FancyBox

If you check your console for errors as @patnz suggested, you’ll likely see that $ is undefined. This is because WordPress loads jQuery in noConflict mode. Try this instead: <script> jQuery(document).ready(function($) { $(“a.fancy”).fancybox({ ‘transitionIn’ : ‘elastic’ }); }); </script>

Multiple jQuery conflict unsure of why

Based off of https://stackoverflow.com/questions/7818525/jquery-image-rotator-with-multiple-instances-on-single-page here is the code that eventually got it to work PHP Top Banner <div id=”top” class=”rotator”> <ul> <li class=”show”><a href=”https://wordpress.stackexchange.com/questions/41048/1″><img src=”http://173.247.253.180/~andrewba/images/banners/40779.gif” /></a></li> <li><a href=”2″><img src=”http://173.247.253.180/~andrewba/images/banners/40780.gif” /></a></li> </ul> </div> Sidebar <div id=”right” class=”rotator”> <ul> <li class=”show”><a href=”https://wordpress.stackexchange.com/questions/41048/1″><img src=”http://173.247.253.180/~andrewba/images/banners/40787.gif” /></a></li> <li><a href=”2″><img src=”http://173.247.253.180/~andrewba/images/banners/40788.gif” /></a></li> </ul> </div> jQuery <script type=”text/javascript”> jQuery( document).ready(function() { //Load … Read more