Support Forum
Hi there,
when I try to edit my profile, all tabs in the section are empty and if you click on them it takes you to a new page with the content but no css. Now, I've read somewhere it may be caused by a conflict with the jquery library in the theme.
I've tried to remove the script call on the WP header.php and add this code to the WP functions.php as recommended but then it crashes the design (as it couldn't find the js)
<?php function my_scripts_method() { wp_deregister_script( 'jquery' ); wp_register_script( 'jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js'); wp_enqueue_script( 'jquery' ); } add_action('wp_enqueue_scripts', 'my_scripts_method'); ?>
This is my homepage in case you need to see the code: http://www.subnoise.es
what you would want to do is really comment out those first two...
wp_deregister_script( 'jquery' );
wp_register_script( 'jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js');
then wp will loads its own jquery instead of the version from google...
Visit Cruise Talk Central and Mr Papa's World
Messing with the jquery libraries didn't fix the problem, did I follow the right steps? I thought it could be the same issue as in here
https://simple-press.com/suppo.....e-options/
This is how my Edit profile screen looks like (see attachment)
And this is where my forum is located http://www.subnoise.es/foro/
If I add this to the functions.php as Mr Papa said
<?php function my_scripts_method() { wp_enqueue_script( 'jquery' ); } add_action('wp_enqueue_scripts', 'my_scripts_method'); ?>
and if I comment the call to my theme's jquery.min.js, the slide on my homepage stops working and it didn't fix the issues on the forum
I understand there should be only one jquery loaded but I don't know which one to keep
yup, that would cause it... good find... hate when themes dont follow the wp standards!
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)