keep in mind that staggered site asked for a lot of info that you would have no use for since you are not setting up a blog/website for the user…
let us know how you make out…
keep in mind that staggered site asked for a lot of info that you would have no use for since you are not setting up a blog/website for the user…
let us know how you make out…
Hi gents,
I have had to put this down for a while but am back on this and am still having an issue with the login button not working. I asume it is using jquery to display a login form but my login button does nothing. Do you think it is a jquery conflict?
Dev site is now here: http://www.silverhairs.com/dev/forum/
user: 5ilver
pass: hair5
Be very grateful if you could shed some light on this one, thx.
Simon.
Your theme is loading jQuery and the jQuery UI library from it’s own supplied files instead of using the correct WP versions. This is the root of the initial issue.
This codex article explains why this is a problem: http://codex.simple-press.com/codex/faq/troubleshooting/what-is-this-jquery-conflict/
Fixing this is usually pretty easy once you have identified where they are being loaded in the theme code. Most often this will be either the header or the functions file.
Thx Yellow.
That all makes sense although I can’t find where the paths to the scripts are being written to change them for the WP versions. Have checked header and functions but can’t find anything.
depending on the complexity of the theme, you may need to search in some of the subdirectories… you would be looking for the file outputting this:
<script type=’text/javascript’ src=’http://www.silverhairs.com/dev/wp-content/themes/Impulse/scripts/js/jquery.min.js?ver=3.3.2′></script>
<script type=’text/javascript’ src=’http://www.silverhairs.com/dev/wp-content/themes/Impulse/scripts/js/jquery-ui.min.js?ver=3.3.2′></script>
Ok, finally found the following after reading through another thread https://simple-press.com/support-forum/sp5-general-topics/join-and-add-a-topic-buttons-not-working/page-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.
Guys, thanks for your help, I have used Mr Papas suggestion in this post https://simple-press.com/support-forum/sp5-general-topics/join-and-add-a-topic-buttons-not-working/page-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?
I have also now disabled all RSS feeds but the button remains! Not my day today it seems.
OK the jquery noconflict has sorted my issue with the homepage animation breaking, now searching the site for anymore nasty $…
Geting there…