WP 4.0 and Game Theme Settings

January 2012 WordPress Theme
GK User
Sun Sep 07, 2014 5:57 pm
Hi,

is it possible, that after updating to wp 4.0, the whole Game Theme Settings are not any longer changeable?
I mean, I am changing some settings, but it does not save anything after I checked the Save-button.

Do I have something to do?

Thanks
Alex
User avatar
Senior Boarder

GK User
Sun Sep 07, 2014 6:50 pm
Hello,

The issue is probably connected with small changes in the jQuery 1.11.1 which causes a syntax errors in some selectors.

We will release an update for WP 4.0 till Tuesday. The temporary fix is following:

1) Please open file js/back-end/template.options.js in the theme directory

2) Please replace the following fragment:

Code: Select all
var tempField = jQuery('*[data-name=' + usedField + ']');

to:
Code: Select all
var tempField = jQuery('*[data-name="' + usedField + '"]');


3) Please replace the following fragment:

Code: Select all
field = jQuery('*[data-name=' + dependsFrom[j].field + ']');


to:

Code: Select all
field = jQuery('*[data-name="' + dependsFrom[j].field + '"]');


4) Please refresh your browser cache to make sure that your browser is loading an updated version of the modified file in the back-end.
User avatar
Administrator

GK User
Mon Sep 08, 2014 5:18 pm
It works. Thanks a lot.
I will update tomorrow, if you got the update out.

Only question I have:
I enabeld all social media buttons, but they don't show up at single posts. They should, in the top area. The box is showing up, but no buttons???
User avatar
Senior Boarder

GK User
Tue Sep 09, 2014 9:52 am
Please provide me an URL to your website with this problem.
User avatar
Administrator

GK User
Tue Sep 09, 2014 7:14 pm
Tried it again and it works!
http://work.luftschubser.de/breitenstei ... llgebirge/

But I wonder, how to change size of the box the buttons are in?
My mainbody is larger than in your demo. But I'd like to remove the the empty spaces between the buttons.
Can I have the box smaller and centered?

Thanks a lot!
User avatar
Senior Boarder

GK User
Wed Sep 10, 2014 7:23 am
Another - silly - question:

Your Game update, you released yesterday, how should I install it at my site?
I won't loose all my widgets and administrations, I did beside the override.css.
Didn't change any other code, but will the widgets still appeare?

Thank you!
User avatar
Senior Boarder

GK User
Wed Sep 10, 2014 2:09 pm
You can increase the social api block by changing dimensions in the following fragment of the wp.css file:

Code: Select all
#gk-social-api {
border: 1px solid #e5e5e5;
clear: both;
margin: 24px 0 0;
padding: 15px 20px 14px;
}


Regarding the update - the best situation is when you are using a Child Theme. If you are not using child theme, then you have to manually merge modified files. The update can be applied by uploading the theme files via FTP.

You won't loose any settings, but you should always do a backup before the theme update.
User avatar
Administrator


cron