Support Forum
Mr Papa said
odd... the wp theme is doing a couple things that violate the wp standards... not sure it has any impact but may...its loading jquery and jquery ui from an external source instead of the using the copies that come with wp...
<script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js?ver=1.5.2'></script>
<script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.15/jquery-ui.min.js?ver=1.8.15'></script>thats not a good thing to do, especially with those old versions... jquery 1.5.2 is very old - current version that comes with wp is 1.10.2... jquery ui isnt as bad but still 1.8.15 vs wp version of 1.10.3...
but those old versions of jquery and jquery ui could be quite unstable and not what wp and other plugins are expecting... but cant guarantee its the problem either though...
does the wp theme have any options to not load external jquery or jquery ui? and use the wp versions?
That is very interesting... there aren't any options to do this within the theme options itself, but is it something that can be achieved via the coding without breaking all of the hover animations (etc)?
unknown... is this theme quite old? because that jquery version is? unless they explicitly used methods in the very old jquery version, it should work with the latest...
we can easily correct the theme to use the wp version and see what happens... search through the theme files and look for those strings (ie the jquery versions)... the theme will likely be deregisterig the wp jquery version then registering the external version, then enqueing the jquery (and ui)... we will just want to remove the first two (deregister and register) and leave the enqueue in place.. that will use the wp version instead...
unfortunately, I do not know if this will help the background image issue but will at worst, fix other issues...
Visit Cruise Talk Central and Mr Papa's World
Mr Papa said
unknown... is this theme quite old? because that jquery version is? unless they explicitly used methods in the very old jquery version, it should work with the latest...we can easily correct the theme to use the wp version and see what happens... search through the theme files and look for those strings (ie the jquery versions)... the theme will likely be deregisterig the wp jquery version then registering the external version, then enqueing the jquery (and ui)... we will just want to remove the first two (deregister and register) and leave the enqueue in place.. that will use the wp version instead...
unfortunately, I do not know if this will help the background image issue but will at worst, fix other issues...
The theme has been updated fairly recently - the background and scripts disappear in the front end completely when I remove the deregister/register commands.
I've instead opted to point to the latest versions of jQuery, but the original problem still remains (background and scripts not showing on Forum page).
wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js', false, '1.9.1'); wp_register_script('jquery-ui', 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js', 'jquery', '1.10.3');
as I said, not sure they are related, but you will likely run into other issues...
not sure why the image would disappear with proper ones... the ones you listed are still wrong... that is an older jquery than what comes with wp... and picking the same version may not be enough since google apis typically doesn use noconflict either... and when wp updates, like it does in most releases, you will still be out of date...
if you want to send me a temp wp admin account with sp admin caps, I can take a look at some other sp options or theme options and see if they are in conflict or something...
Visit Cruise Talk Central and Mr Papa's World
Mr Papa said
as I said, not sure they are related, but you will likely run into other issues...not sure why the image would disappear with proper ones... the ones you listed are still wrong... that is an older jquery than what comes with wp... and picking the same version may not be enough since google apis typically doesn use noconflict either... and when wp updates, like it does in most releases, you will still be out of date...
if you want to send me a temp wp admin account with sp admin caps, I can take a look at some other sp options or theme options and see if they are in conflict or something...
Thank you, I'll create an account and send you over the details in PM
okay, thanks... will try to look this afternoon, but its senior night at my sons HS football game tonight so will be packing it in a bit early... might be this weekend...
Visit Cruise Talk Central and Mr Papa's World
sorry, afraid the account you created does not have the needed permissions... you did make it a wp admin account, but not an sp admin account... please go to forum - admins - manage admins and give it all the sp admin capabilities...
Visit Cruise Talk Central and Mr Papa's World
I am still unsure what might be changing the background image to display:none... but there are lots of js issues on your site... jquery is not working right because of the wrong versions still getting loaded... we really should fix the jquery and jquery ui stuff first and either rule it out while fixing other issues or maybe it will help this too...
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)