Support Forum
Ok, finally found the following after reading through another thread https://simple-press.com/suppo.....-3/ Scott Scwab had a similar issue...
function skyali_load_scripts(){
if (!is_admin()) {
wp_deregister_script('jquery');
wp_register_script('jquery', ''.get_template_directory_uri().'/scripts/js/jquery.min.js', 'jquery');
wp_enqueue_script( 'jquery' );
wp_register_script('jqueryui', ''.get_template_directory_uri().'/scripts/js/jquery-ui.min.js', 'jquery');
wp_enqueue_script( 'jqueryui' );
Do you think I just need to amend these to have the full path to the wordpress files?
This should do it - commenting out the following lines of code:
//wp_deregister_script('jquery'); //wp_register_script('jquery', ''.get_template_directory_uri().'/scripts/js/jquery.min.js', 'jquery'); wp_enqueue_script( 'jquery' ); //wp_register_script('jqueryui', ''.get_template_directory_uri().'/scripts/js/jquery-ui.min.js', 'jquery'); wp_enqueue_script( 'jqueryui' );
See if that helps.
YELLOW
SWORDFISH
|
Guys, thanks for your help, I have used Mr Papas suggestion in this post https://simple-press.com/suppo.....ge-2/ and it has worked like a dream!
Thanks again guys! I can now get on...
Ouch! I was a bit premature with my celebrations...
Commenting out the code you suggested works on my local version - both the simple press login buttons and add topic now work and the animation on the homepage.
Unfortunately on my live development version the simple press login buttons and add topic now work but the other areas across the site that use jquery now don't work for example the animated images on the home page.
http://www.silverhairs.com/dev/
user: 5ilver
pass: hair5
Anything else I might have missed?
1 Guest(s)