jQuery is not loading on any page except front page - Wordpress -
i'm having issue wordpress theme i'm building, in jquery seems load on front page.
i've tried playing functions.php file, changing from:
wp_enqueue_script('jquery');
to:
if (!is_admin()) add_action("wp_enqueue_scripts", "my_jquery_enqueue", 11); function my_jquery_enqueue() { wp_deregister_script('jquery'); wp_register_script('jquery', "http" . ($_server['server_port'] == 443 ? "s" : "") . "://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js", false, null); wp_enqueue_script('jquery'); }
as i've read through google, though doesn't seem change anything, no matter put in there can't seem plugins work on single pages.
you can see example of single page i'm having trouble @ http://cloggedcap.ca/customer-sites/cloggedcaptestsite/wordpress/projects/toxsic/ images supposed open in lightbox. if check out root of site @ http://cloggedcap.ca/customer-sites/cloggedcaptestsite/wordpress/#portfolio , click on portfolio thumbnail, load via ajax , lightbox feature works fine.
any ideas may causing jquery load on front page? single-projects.php page loads header.php , footer.php file, wp_head(); , wp_footer(); located.
Comments
Post a Comment