To be able to build more complex and advanced CMS themes, you really can’t get away from some way of storing and retrieving theme settings (this is a very common feature of premium WordPress templates). This is exactly what this plugin does; it allows your theme to store and retrieve bits of data.
For the GST ThemeSettings plugin to function properly; you will need to modify your themes “functions.php” file as well. The GST ThemeSettings plugin only handles the saving and retrieving of theme data; you will need to setup your “functions.php” file to allow the user to save data by creating some HTML forms (the plugin comes included with a sample “functions.php” file from one of our themes).
The plugin creates a new hook named “gst_theme_settings”, by adding an action to this hook (have a look at the included “functions.php” for clarification), a form will be loaded when the “GST ThemeSettings” entry from the menu is clicked and the user will be able to save/change theme settings.
To retrieve data within your templates files; simply call the function “gst_get_themesettings(‘myvariable’)”, where you replace the string ‘myvariable’ with the name of the variable you want to retrieve. The function will either RETURN the value of the variable and if the variable does not exist, it will return FALSE.
PLEASE NOTE: the provided “functions.php” file should NOT be uploaded to your “/plugins” folder. Only the file “gst_themesettings.php” should be copied to the “/plugins” folder, the “functions.php” purely serves as an example of how to setup your own “functions.php” file.
Download Plugin gst-themesettings.zip - 4KB
32 responses to "GST ThemeSettings"
Hi-
You should move the sample functions.php into a subfolder within your distribution zip. One of the users left it in the plugins folder which breaks the GS plugin page.
-Rob A>
function.php should be in theme folder not in the plugins folder!
Yes, of course it should be in the theme folder. Isn’t that obvious? The “functions.php” file is only provided to give some directions on how to setup your own “functions.php” file as mentioned in the description above.
Hi
I used this plugin but I have problem. I created textarea to show banners but when I put the code and click save, it make my code like the following:
note: it works well on local server!
thx
plz merge comment
The fowllowing :
plz delete above comment
wow even image tag doesnt work url:http://img130.imageshack.us/img130/3543/sanstitrepa.png
Your problems have got nothing to do with the plugin I’m afraid; it’s GetSimple which automatically escapes certain text characters (by placing a slash in front of them), nothing we can do about that…
ok, no problem
thx
You might want to un-escape your theme settings by using PHP’s strip_slashes($mystring). That should do the trick.
-Matt
Nice site ….)
Hi.
When try to change GST theme settings from admin panel it save but it doesnt change any datas.
ok found it – chmod theme_settings.xml for 777
Hi
thx for this plugin, I used it for the version 2.x, but it doesn’t work with V3, please can you update it!
ythx
Hi there!
Thanks for reminding us!
We’ll try to update the plugin sometime this week.
-Matt
did you update it already?
Has the v3.0 update been done yet?
Any news on this being updated for v3.0? It appears to be necessary for all of the themes here.
Hi,
this plugin don’t work with GS v3.0
Any Update comming soon?
When will there by updates???
from march 28th post about updating the GST theme settings plugin to function with V 3.0, any updates? thanks in advance!
Hi Everybody!
I am very sorry about the lack of responses regarding the problems with the GST ThemeSettings and GetSimple 3.0. I have been traveling for the past two months and haven’t been able to tend to matters like I usually would.
Things are almost back to normal now, I am aware of the issues and I am working on getting them solved asap. I hope to have an update ready for the plugin within the next few days.
- Mattijs
The GST ThemeSettings plugin has now been updated to work with GetSimple 3.0
Great theme!! Everything works flawless, but I cant seem to get the GST ThemeSetting under the “settings” of gs to work properly. Whenever I click on it, nothing appears. I am guessing its because of functions.php since i dont quite get how to use it as an example in order to implement the functionality of GSTThemeSettings into my functions.php.
Is there a tutorial that can show me how to make this work, its quite frustrating and without it, I cant even edit the sitename.
Is there a reason why a functions.php cant be provided so the users can upload them directly to pixelstudio/theme and start working from there?
The plugin doesn’t work. The only think I see is this: http://awesomescreenshot.com/027fzp6dd
Hi gutu,
Can you confirm you’re using the updated version of the plugin?
- Matt
I am having the very same issue … I just downloaded the new plug-in (Version 1.1.0). IS this the correct version?
Gutu, the picture you provided is exactly what I am getting aswell. And my version is 3.0
Hi guys. We’re aware of the issue and are working on a fix as we speak. Expect an update later today.
-Matt
Hi y’all,
We have just uploaded an updated version of the plugin. Please try this one and let me know if you experience anymore issues. Thanks!
-Matt
xpUJuZ http://wnbUj5n0mXqpcvm27Hms.biz
I solved this problem.
Just open functions.php file, find the line “function simplefolio_settings()” and rename to “function theme_settings()”
Leave your response