Home » Themes » GST ThemeSettings

GST ThemeSettings plugins has now been updated to work with GetSimple 3.0. Our apologies for the delay.
Download Plugin gst-themesettings.zip - 4KB

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"

  1. Reply RobA January 13, 2011 23:25 pm

    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>

    • Reply php January 14, 2011 15:44 pm

      function.php should be in theme folder not in the plugins folder!

      • Reply admin January 15, 2011 02:30 am

        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.

  2. Reply php January 16, 2011 19:25 pm

    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

  3. Reply php January 16, 2011 19:36 pm

    plz merge comment :)
    The fowllowing :

  4. Reply php January 16, 2011 19:39 pm

    plz delete above comment :D
    wow even image tag doesnt work url:http://img130.imageshack.us/img130/3543/sanstitrepa.png

    • Reply admin January 17, 2011 00:55 am

      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…

  5. Reply php January 17, 2011 11:22 am

    ok, no problem
    thx :)

    • Reply admin January 17, 2011 11:24 am

      You might want to un-escape your theme settings by using PHP’s strip_slashes($mystring). That should do the trick.

      -Matt

  6. Reply nolftofer January 28, 2011 06:08 am

    Nice site ….)

  7. Reply chrisq February 07, 2011 14:58 pm

    Hi.
    When try to change GST theme settings from admin panel it save but it doesnt change any datas.

    • Reply chrisq February 07, 2011 15:01 pm

      ok found it – chmod theme_settings.xml for 777 :)

  8. Reply noure March 26, 2011 20:33 pm

    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

    • Reply admin March 28, 2011 04:37 am

      Hi there!

      Thanks for reminding us! :)

      We’ll try to update the plugin sometime this week.

      -Matt

      • Reply Connie April 16, 2011 12:05 pm

        did you update it already?

      • Reply HR April 25, 2011 18:09 pm

        Has the v3.0 update been done yet?

  9. Reply HR April 22, 2011 14:56 pm

    Any news on this being updated for v3.0? It appears to be necessary for all of the themes here.

  10. Reply jlm April 24, 2011 19:55 pm

    Hi,

    this plugin don’t work with GS v3.0

  11. Reply Thomas Beyer April 27, 2011 00:08 am

    Any Update comming soon?

  12. Reply Thomas Beyer May 07, 2011 12:17 pm

    When will there by updates???

  13. Reply Barry May 26, 2011 19:58 pm

    from march 28th post about updating the GST theme settings plugin to function with V 3.0, any updates? thanks in advance!

  14. Reply admin June 07, 2011 19:40 pm

    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

  15. Reply admin June 08, 2011 07:39 am

    The GST ThemeSettings plugin has now been updated to work with GetSimple 3.0

  16. Reply Micheal June 29, 2011 00:47 am

    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?

  17. Reply gutu July 04, 2011 09:44 am

    The plugin doesn’t work. The only think I see is this: http://awesomescreenshot.com/027fzp6dd

    • Reply admin August 08, 2011 06:23 am

      Hi gutu,

      Can you confirm you’re using the updated version of the plugin?

      - Matt

      • Reply Zack August 09, 2011 01:23 am

        I am having the very same issue … I just downloaded the new plug-in (Version 1.1.0). IS this the correct version?

  18. Reply Micheal August 10, 2011 01:05 am

    Gutu, the picture you provided is exactly what I am getting aswell. And my version is 3.0

  19. Reply admin August 10, 2011 01:16 am

    Hi guys. We’re aware of the issue and are working on a fix as we speak. Expect an update later today.

    -Matt

  20. Reply admin August 10, 2011 07:36 am

    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

  21. Reply joseph August 24, 2011 04:43 am

    xpUJuZ http://wnbUj5n0mXqpcvm27Hms.biz

  22. Reply Jonas December 20, 2011 17:59 pm

    I solved this problem.

    Just open functions.php file, find the line “function simplefolio_settings()” and rename to “function theme_settings()”

Leave your response

Latest Tweets