On: 2005/09/03 Viewed: 237959 times

In every Wordpress theme there are places that are supposed to be edited and customized by the end user who is using the theme : an “About you” block to fill in, a loop to customize when you want to add “Asides” post style, some CSS to tweak to use an personal image in header, etc…

The problem is : most bloggers are not PHP or HTML expert, can’t tell the difference between an HTML tag and a PHP tag, and simple editing of templates can be hazardous and tedious to them. Adding an admin menu in your theme ensures that end users can customize things without editing source files, just as naturally as changing a Wordpress option in the admin area.

Wordpress Theme Toolkit is a PHP class that gives Wordpress theme authors the opportunity of creating a persistent admin menu for their theme as easily as editing 3 lines in a file.

You are a theme author ? Have enough skills to edit three lines ? Add an admin menu to your theme ! (click to enlarge)
Theme Toolkit : admin menu example

Just to be sure : Wordpress Theme Toolkit is not a theme with an admin menu. It is something that makes adding an admin menu to an existing theme as easy as 1-2-3.

This long article is divided in shorter sections :

  1. Intro : well, here.
  2. Overview : a quick tour about features and how easy things are.
  3. Manual : detailed features and how-to
  4. Download ! : files and credits.
  5. Ideas and Examples : suggestions and ideas of what you could add to your theme … and a real Wordpress Theme as an example of use.

Related posts

Page: #1 #2 #3 #4 #5

Metastuff

This page "Wordpress Theme Toolkit" was posted on 03/09/2005 at 2:36 pm
Watch this discussion : Comments RSS 2.0. You can trackback this post from your own site

148 Blablas

  1. 1
    DavidX66 France »
    wrote, on 05/Sep/05 at 10:41 pm # :

    Wow ! Ozh roulaize ! ;)

  2. 2
    WordPress Station » Blog Archive &... Canada »
    pingback on 06/Sep/05 at 4:19 am # :

    [...] planetOzh planet ozh has released a tool that could be a revolutionary way of approaching theme creation. Not having had a chance to play with it yet, it seems like the opportunities are endless..now scurries off to install… [...]

  3. 3
    Mangas Verdes » Wordpress Theme To... United States »
    pingback on 06/Sep/05 at 12:12 pm # :

    [...] Wordpress Theme Toolkit es obra de Ozh, quien en su propio blog nos ofrece todos los detalles del invento. Y algo que a muchos les va a gustar: ha creado una plantilla, Minimalissimplistic, con la herramienta ya implementada para que todo aquel que quiera pueda ir probando la herramienta. Te dejo la dirección de descarga de la plantilla. [...]

  4. 4
    BillSaysThis United States »
    thought, on 06/Sep/05 at 9:12 pm # :

    While useful and innovative I wonder how the toolkit will affect performance. Seems likely to add a number of if() tests, function calls and database lookups judging by the examples on page five of this article.

  5. 5
    Ozh France »
    replied, on 07/Sep/05 at 12:25 am # :

    Bill, the themetoolkit itself won’t affect performance at all. It’s just a class definition with no additionnal database lookup. Everything stored by a theme is stored in a single entry in the option table, where options are all read by Wordpress at once at the beginning of a page load. Having one more option for a theme is a matter of a few nanoseconds, something like this :)

    Now, the functions you can write to make use of the themetoolkit can affect performance. You can write something that queries SQL a lot, etc… But again, in the examples of page 5, there are absolutely no additionnal query. Yes, there are if() tests, but errr dude … ever looked at the source of anything PHP ? :) This is uberbasic code I’ve put as an example here, and testing variables is nothing. When looking at performance, you don’t even look at a one liner comparing two variables man :)

  6. 6
      Wordpress Theme Toolkit by&n... United States »
    pingback on 07/Sep/05 at 1:30 am # :

    [...] You can check out this Wordpress theme toolkit here. [...]

  7. 7
    MacBlog » Wordpress Theme Toolkit Taiwan »
    pingback on 07/Sep/05 at 2:05 am # :

    [...] Wordpress Theme Toolkit [...]

  8. 8
    fuzzit United States »
    thought, on 11/Sep/05 at 8:47 am # :

    I installed the minimalisticsimple theme and when I go into the dashboard/themes nothing pops up, but the themes name. I click on edit the theme and it shows nothing in the files. When I view them in a text editor they are there. I changed the permissions because I thought that was the problem but that didn’t work either.
    Please help

  9. 9
    Ozh France »
    wrote, on 11/Sep/05 at 9:20 am # :

    Sorry I don’t understand what your problem is. Install the theme, select it, *load your blog* (ie read a post), and that’s it.

  10. 10
    Nate United States »
    wrote, on 16/Sep/05 at 9:18 pm # :

    So is there something like this that would allow you to edit several themes at the same time? That is what I have been tyring to look for.

  11. 11
    Ozh France »
    replied, on 16/Sep/05 at 9:56 pm # :

    I don’t understand what you mean, so I guess the answer is “no”

  12. 12
    FUKKLE BIM JERRY // OFFICE » Blog ... Germany »
    pingback on 25/Sep/05 at 12:36 am # :

    [...] Wordpress Theme Toolkit « planetOzh [...]

  13. 13
    tonetripper Canada »
    replied, on 27/Sep/05 at 7:33 am # :

    So your instructions on how to install these tools are about as clear as mud. I keep referring back to where these are suppose to be uploaded to my ftp and to what folder and it is very unclear where I put them. Is it in the “themes” folder in the “wp-content” folder or is there some other folder I should be searching for in the blogging folder on my site that is somewhere else. You refer to putting these .php files into a “theme” folder. Please clarify.

    Sincerely frustrated.

    “Wordpress Theme Toolkit is just a set of 2 PHP files you will drop into your ‘THEME’ directory (see Page 4 for download links)” - Where is this directory?

  14. 14
    Ozh France »
    said, on 27/Sep/05 at 8:11 am # :

    From the doc here :
    Say we are working on a theme named, how original, “My Neat Theme”, which would sit in wp-content/themes/mytheme.
    Step 1
    Put the required files functions.php and themetoolkit.php in your theme directory.

    For the frustrated no-clue “clear as mud” kind users such as toneripper, this means you put the 2 files in wp-content/themes/YOURTHEME. Which is a theme directory.

    I just cannot be clearer than this. If it’s still unclear to you, move along, this means you’re lacking the basic skills required to work with WP themes.

  15. 15
    shane United States »
    replied, on 05/Oct/05 at 10:46 am # :

    This is quite amazing! The power and flexibility of Themekit should really be included right in the core of WP! Works perfectly wonderful on a stand-alone install of WP. Now we’d like to use this on a WPMU install now that MU allows plugins in each of the user blogs.

    Once installed and “activated” as usual, it returns a “Fatal error: cannot redeclare xxxxx() (previously declared in….) and points to the line number of the function xxxxx().

    I found a similar error with WP plugins running under PHP 5.x but Themekit works fine with PHP 5.x, just not with WPMU.

    Any ideas?

  16. 16
    Weblog Tools Collection » Adsense ... Germany »
    pingback on 17/Nov/05 at 4:48 pm # :

    [...] Options are managed from an admin panel (using Wordpress Theme Toolkit) which gives the theme a lot of functionalities and customization possibilities. [...]

  17. 17
    Ajay - On the Road called Life! » ... United States »
    pingback on 18/Nov/05 at 2:50 am # :

    [...] Stumbled upon Wordpress Theme Toolkit today, and it seems really cool to add to the theme. [...]

  18. 18
    Caught in the World "Wild" Web... United States »
    pingback on 18/Nov/05 at 9:09 pm # :

    [...] Additionally, it has an admin menu (uses WordPress Theme Toolkit) where you can set various options. [...]

  19. 19
    d r i v e l » Eclectic Theme Prere... Great Britain (UK) »
    pingback on 21/Nov/05 at 12:22 pm # :

    [...] (Possibly) Incorporate Theme Toolkit for customization. [...]

  20. 20
    Steve Europe »
    said, on 22/Nov/05 at 2:11 pm # :

    I was wondering how to get Wordpress Theme Toolkit to allow localization. I mean in the way the WP Theme and plugin does.
    I’m developping a new them and as always i wish make it fully internationalized, but using Wordpress Theme Toolkit i can’t localize the strings into settings of functions.php o at least i’m doing it worng, using __ and _e function doesn’t work

    Any suggestion ?

  21. 21
    aNieto2K » Sobre AjaxContempt v0.2 Italy »
    pingback on 23/Nov/05 at 10:19 am # :

    [...] Usamos Wordpress Theme Toolkit [...]

  22. 22
    Steve Europe »
    wrote, on 23/Nov/05 at 1:02 pm # :

    A goo improvment would be if we can have another type of of optin that generate a header title allowing to divede vaious options in subsections

  23. 23
    Steve Europe »
    replied, on 23/Nov/05 at 2:16 pm # :

    Looks like the WPToolKit had problem with WP 2.0. I’m still investigating to sort out what it’s the exact problem.

  24. 24
    Ozh France »
    thought, on 23/Nov/05 at 5:00 pm # :

    Steve, I’m aware of the problem : it’s currently incompatible with WP2.0
    I’m working on it, will be fixed at least for 2.0 stable (but probably in the next few days)

  25. 25
    Steve Europe »
    commented, on 23/Nov/05 at 6:21 pm # :

    Good to know… what about my other wustions about a new option and about localization? :) (I know I’m a pain in the ass sometimes ;) )

  26. 26
    Ozh France »
    wrote, on 23/Nov/05 at 7:56 pm # :

    Yeah, localization is a very good suggestion… I never think about it because I’m never using it, so I’ll have to investigate to understand how localization works in WP. But that’s definitely a good idea :)

  27. 27
    Steve Europe »
    replied, on 24/Nov/05 at 7:32 pm # :

    I tested to see if putting localization functions in your code works.. but with no luck.

    Even worste is the text put into function.php variable by the theme developper.

    Ryan Boren it’s the one that implmented most of the internationalization functions, but documentation on the codex it’s very incomplete.

  28. 28
    aNieto2K » AjaxRegulus 1.0 Italy »
    pingback on 28/Nov/05 at 2:13 am # :

    [...] Usamos Wordpress Theme Toolkit [...]

  29. 29
    Gabriel » Blog Archive » Wor... United States »
    pingback on 28/Nov/05 at 1:08 pm # :

    [...] Will definitely have to check this out… [...]

  30. 30
    HTNet United States »
    trackback on 05/Dec/05 at 4:54 am # :

    Fun With Wordpress Theme Toolkit

    I came across Wordpress Theme Toolkit while developing my current theme; Tuned… and I thought, what the heck, I might as well give it a whirl.
    I’d like to share one of the things I use the toolkit for: Automatically Generating Feeds Links…

  31. 31
    the-way-to-the-centre » my first f... United States »
    pingback on 05/Dec/05 at 10:15 pm # :

    [...] I recently found out about Ozh’s Theme Toolkit, so thought I would give it a go with a theme I am messing with. Essentially it allows you to add features that are them administered through a page within the WordPress back-end. [...]

  32. 32
    Weblog Tools Collection » Wordpres... Germany »
    pingback on 08/Dec/05 at 10:36 am # :

    [...] A new version of the Wordpress Theme Toolkit hits the road, compatible with the upcoming Wordpress 2.0 (and downwards compatible with existing installations). Theme authors and users are advised to upgrade. Technorati Tags: wordpress wordpress plugin wordpress theme   [...]

  33. 33
    40 anni buttati » Blog Archive &ra... Italy »
    pingback on 10/Dec/05 at 9:46 pm # :

    [...] Dopo un primo lavoro di programmazione che risultava incompatibile con la nuova WP 2.0 ho optato per l’utilizzo dell’ottimo Wordpress Theme Toolkit che permette di realizzare facilmente interfacce per il pannello di amministrazione per i propri temi e di fornire una struttura per ospitare tutte le funzioni necessarie all’interno del tema. Da pochi giorni l’autore ha rilasciato la versione compatibile 2.0/1.5.x così da poter sviluppare un tema adatto ad entrambe le piattaforme. [...]

  34. 34
    Blaine Collins Blog » Blog Archive... United States »
    pingback on 16/Dec/05 at 8:17 pm # :

    [...] Wordpress Theme Toolkit « planetOzh (tags: blog design webdev wordpress plugins) [...]

  35. 35
    Guimod Blog 镜象站 »... China »
    pingback on 17/Dec/05 at 9:03 am # :

    [...] Themes using Wordpress Theme Toolkit (http://planetozh.com/blog//my-projects/wordpress-theme-toolkit-admin-menu/) (a plugin for themes). Ozh is working on the issue, may be fixed soon, will be fixed anyway for WP 2.0 final. [...]

  36. 36
    Marina Mexico »
    wrote, on 18/Dec/05 at 2:59 am # :

    Wow, what a cool tool! I am going to try it for my themes, thanks so much for sharing!

  37. 37
    Josie United States »
    thought, on 18/Dec/05 at 3:17 pm # :

    Your instructions are poorly written up :(

  38. 38
    Dennis Howlett Spain »
    commented, on 19/Dec/05 at 1:26 am # :

    This is great but the style mangles TinyMCE (only partly visible) on the comments pages -any ideas?

  39. 39
    Ozh France »
    replied, on 20/Dec/05 at 1:45 am # :

    Josie » you’re welcome.

    Dennis » I don’t understand what your problem is. I see nothing wrong in the admin theme area. Can you make a screenshot with OS / browser infos ?

  40. 40
    shamsulazhar Malaysia »
    wrote, on 26/Dec/05 at 9:49 am # :

    Hi Ozh,

    Fantastic tool with excellent documentations.

    I’m currently upgrading my tiga theme to use this toolkit.

    One small problem that I notice is with the checkboxes. Checking it is OK, but to uncheck the user needs to do it twice.

    BTW, thanks for sharing this great tool.

  41. 41
    Ozh France »
    replied, on 26/Dec/05 at 10:51 am # :

    shamsulazhar » in fact, it’s a browser’s cache problem. Thanks for feedback :)

  42. 42
    NOLA Doc - A Cinematic Social Inquiry &r... United States »
    pingback on 25/Jan/06 at 7:39 am # :

    [...] New site layout and photo gallery –> By chad I’ve finally fixed the layout of the site (I hope) for at least the next few weeks. I was having a hard time inding a template that was compatible with FAlbum and had enough layout structure. Many thanks to shamsul and his theme Tiga. I was able to site down the PHP files and figure out how to customize the look to my needs. Now I’m working on integrating all the options into his already great use of Ozh’s Wordpress Theme Toolkit. Again, it’s all about control for me. [...]

  43. 43
    shamsulazhar.com - SCUBA, Photography an... United States »
    pingback on 30/Jan/06 at 8:11 pm # :

    [...] You didn’t do anything wrong. This is a bug in the WordPress Theme Toolkit I use to power the Tigarator. It occurs when you use the theme on a fresh install without any plugins activated. The simple workaround is to activate any plugin such as the ‘Helllo Dolly’ plugin and it should work fine. Hey Shamsul, I’m thankful for your work. You’re such a nice and helpful guy. Can I buy you lunch? [...]

  44. 44
    hadi farnoud Iran »
    thought, on 31/Jan/06 at 5:16 pm # :

    i was installed Fauna theme,but i haven’t any option! i should install anything???,please help!

  45. 45
    james Great Britain (UK) »
    thought, on 05/Feb/06 at 8:54 pm # :

    Hi Ozh,

    I use the fauna theme which utilises your theme toolkit and after asking Joen the author he felt you may be able to answer my question best.

    I have moved my site over to TextDrive hosting and they use the mod_security system to stop comment spam and bad referers, etc. Unfortunately the ‘../’ in the Current Theme Options also triggers this and I get a 412 Precondition Fail error. This is the URL:

    http://mapofthedead.co.uk/weblog/wp-admin/themes.php?page=../themes/fauna/functions.php

    One of the admins over at TextDrive has confirmed that it is definitely the ‘../’ in the URL that is triggering the error. Is there any other way to use the theme options with a different URL?

    Many thanks for your help.

  46. 46
    james Great Britain (UK) »
    commented, on 06/Feb/06 at 6:45 pm # :

    Hi Again,

    I’m not comment spamming, honest!

    I was able to solve the issue by editing the ‘..’ out of the URL in the themetoolkit.php file and everything works fine now.

  47. 47
    Fauna | Fauna Beta 3 Denmark »
    pingback on 06/Feb/06 at 7:30 pm # :

    [...] New options With a bugfix to the great themetoolkit by Ozh, I have added more options. Now you can flip the sidebar to the right with two clicks. You can also hide meta info, links, or show the calendar or categories on the homepage. [...]

  48. 48
    alvin United States »
    replied, on 09/Feb/06 at 6:49 am # :

    Hi, I just want to say this script you’ve written is going to have a lot of impact on the ‘theming community’ in wordpress. It’s purely l33t!

    Upon trying out your script, i quickly noticed a shortcoming - giving user the power to upload their own header image from that theme option and change the header image after upload is done. I tried hacking the codes but so far it has been fruitless as it does involve hacking your themetoolkit.php here and there to make the browse input form works.

    I know the other solution would be to just put an input box and let user enter the absolute path of the images they uploaded into somewhere else and replace the css background-image properties for that header div tag. But that might seem like a long journey for an average Joe.

    Maybe you can shed some lights here.

    Again GJ!

  49. 49
    Ozh France »
    commented, on 09/Feb/06 at 9:56 am # :

    Alvin » thanks for feedback :) Indeed, you’re right about the lack of uploading features. I started to code this themetoolkit when WP 1.5 was around, and it had an Upload form, so such a feature was useless in the toolkit. I’ll have to think a bit about this, but at first glance I see more problems and configuration option hassles than benefits. BTW, nice site you have, are you releasing a theme any time ?

  50. 50
    Rudd-O Ecuador »
    said, on 17/Feb/06 at 3:49 am # :

    Man, I integrated your admin menu in my theme, and it works like a charm, except for this:

    When I input a valid URL in an option in the options screen for my theme, with %amps; (the percent sign should be replaced by an ampersand sign) instead of plain ampersands,

    the %amps get replaced by plain ampersands like this: http://www.top100bloggers.com/index.php?do=votes&id=1262

    Basically, any entity I enter is subsequently displayed as the character it’s supposed to be portraying. The code works alright, since %amps; are getting saved to the database, but the admin screen shows them as plain ampersands.

    Where can I contact you directly?

  51. 51
    Azmeen Malaysia »
    commented, on 20/Feb/06 at 2:00 pm # :

    Rudd-O,

    You could try something like:

    http://domain.tld/?var=test&anothervar=something

    Can’t preview… hope this works.

  52. 52
    Azmeen Malaysia »
    thought, on 20/Feb/06 at 2:06 pm # :

    Bargh… my last comment didn’t display as it’s supposed to. Hope this clarifies things.

    Basically, you just double the amp bits, ie. if you want to display: [...]&test=1[...] you type (but remove the space after the first ampersand, of course):
    [...]& amp;amp;test=1[...]

    Should work pretty well.

  53. 53
    RevvedUp 1.4 is out » The R Zone United States »
    pingback on 20/Feb/06 at 5:47 pm # :

    [...] It now fully incorporates the WordPress theme toolkit into the package; thus, ad display code and other options are now completely configurable via the theme options page on the WordPress administrative interface [...]

  54. 54
    The Groundhog Project » Hyperballa... Great Britain (UK) »
    pingback on 22/Feb/06 at 3:09 pm # :

    [...] Several customization options (thanks to the wonderful WordPress Theme Toolkit by Ozh) [...]

  55. 55
    Olaf Switzerland »
    commented, on 22/Feb/06 at 8:57 pm # :

    Theme Toolkit is so amazing, thank you Ozh! I`ve created the Sirius theme and it provides a lot of design options in the admin panel. Thanks to Toolkit I could comfortably realize this theme.

    Information and download link under:
    http://blogshop.de/21022006,497/2/

  56. 56
    милованов, Ð... Russia »
    pingback on 23/Feb/06 at 12:05 am # :

    [...] Wordpress Theme Toolkit « planetOzh. [...]

  57. 57
    Kaushal Sheth » Blog Archive &raqu... United States »
    pingback on 05/Mar/06 at 5:37 pm # :

    [...] Well I have been messing with Wordpress Theme Toolkit Admin Menu today and created an updated version of my previous Exquisite theme. The toolkit is really great. [...]

  58. 58
    Lisa United States »
    replied, on 06/Mar/06 at 6:13 pm # :

    I thought I posted this already, but I must not have pressed submit.
    anyway, I love this plugin - It will work wonders for me and my users, but it is not working well for me. I am sure it is operator error, so please go easy on me!
    I am using the fauna theme for my blog, http://www.lisa.scribblesonline.com/blog/ and have found the options to change stuff using the themetoolkit editor. I can change the sidebar placement, can hide the links etc. But, when I tried to change the header graphic to a custom image hosted on my site, I get a light gray image.
    Also, when I try to use themetoolkit with other themes, I am not able to change anything, the header image, the sidebar placement and other options.
    any help is greatly appreciated!

  59. 59
    Ozh France »
    commented, on 07/Mar/06 at 7:11 pm # :

    Lisa » these are theme issues, contact authors of the themes that are using my Toolkit.

  60. 60
    Lisa United States »
    wrote, on 07/Mar/06 at 10:39 pm # :

    ok, I can do that, but the themetoolkit was not something that they packaged with the theme, I added it to the theme, so I doubt that they will be inclined to help.
    but thanks for the suggestion.

  61. 61
    WordPress Theme Toolkit allows users and... United States »
    pingback on 09/Mar/06 at 12:55 am # :

    [...] Just found out that Ozh has created a WordPress Theme Toolkit which, upon editing three lines of code in any existing theme, will provide Theme Authors with an admin menu accessible through the WordPress Presentation UI.  Very cool stuff — all would-be wordpress theme authors should check it out!  Same goes for those of you dabbling in modifying existing themes.  Nice work Ozh! Filed under blogging, Weblogs, WordPress, Templates, Themes, wordpress theme toolkit by Emily from How to Blog. Permalink • Print • Email [...]

  62. 62
    Adri Italy »
    replied, on 09/Mar/06 at 8:23 pm # :

    Fantastic tool with excellent documentations!

  63. 63
    Fauna | Fauna Beta 4 Denmark »
    pingback on 12/Mar/06 at 3:57 pm # :

    [...] Ozh added “default options” to his themetoolkit That means Fauna now populates the options page with the default options. This makes it easier for you to see what’ll happen when you change those options. [...]

  64. 64
    jimy Russia »
    said, on 14/Mar/06 at 12:04 am # :

    Cool cool tool! Thank u! I am going to try it for my themes (:

  65. 65
    | Ehrlich gesagt… Europe »
    pingback on 14/Mar/06 at 7:58 am # :

    [...] Fixes: » Moved all font css to fauna-default.css » Wrote some instructions in the top of fauna-default.css » Added an option to specify a custom stylesheet. This might make it easier to upgrade to future versions of Fauna. » Dropped category RSS meta link, since the code wasn’t 2.0 compatible » Due to incredible work by Ozh on his Themetoolkit (http://planetozh.com/blog//my-projects/wordpress-theme-toolkit-admin-menu/), checkboxes now function properly. Ozh has actually made a workaround to a bug in Wordpress itself. Send him a thank you note. » Removed a superfluous DIV from page.php and page-archives.php (Thanks Levi) » Added a few HTML comments in some of the templates, including search.php (Thanks Levi) » Fixed a problem in template-postloop.php where uncommenting the_author_link wouldn’t work (Thanks Sadish) » Fixed a problem in template-sidenote.php where it said “1 Comments” (Thanks Sadish) » Had to add class “post” to template-sidenote.php and template-postloop.php in order to fix an overflow problem » Added some default values to the options page. This means the default configuration for Fauna is now actually shown in the options page, rather than the options being empty as they have been so far » Changed noteworthy heart font to Lucida Console, because it looks really good in that font. » Moved an .entry-date border style from style.css to fauna-default.css » Moved a yellow inputfield focus class to fauna-default.css (Thanks Levi) » Fixed a nasty bug where sites with more than one author would have author pages with errors on them (Thanks a lot, Levi) » Made consistent vertical spacing in UL lists in the sidebar (Thanks Simplex) » Did some tweaks to the header width / height options so you can change the header of the all mastheads, not just custom ones » Added option to change background image and color » Removed the searchbox background. I’ve been pondering this for ages. While it did serve the purpose of connecting above with below, visually, I think it looks a bit better without. Your thoughts? » Due to popular demand, I added another special category: Sidenotes. To do this, I renamed the previous “Sidenotes” category to “Asides”. Now it works like this: “Asides” or “Dailies” are small posts in the main post-list, while “Sidenotes” are relegated to the sidebar. For those of you who are using a “Sidenotes” category for your small posts in the main post-list and don’t want those relegated to the sidebar, simply go “Manage > Categories”, and in the “Category slug” for your Sidenotes category, type in “asides” or “dailies”. Then you’ll keep your behaviour. –> [...]

  66. 66
    jsekera United States »
    replied, on 15/Mar/06 at 4:44 pm # :

    Wow this is a fantastic tool – well done.

    I have an oddness that’s happening on the back end, and I wanted to run it by you. When I have an item that uses a checkbox, more often than not when I toggle that element (within the admin interface) it doesn’t take the first time, in fact sometimes they take three times to actually register. The other items (radio & text box) don’t seem to have this problem. Am I doing something stupid here, is there a caching issue with this element, or is there something else at work?

    Also – do you have any plans to add dropdown’s to the list of available elements?

    - Thank you - JS

  67. 67
    Blogzor United States »
    said, on 16/Mar/06 at 8:05 am # :

    Is it possible to add a way that the size of the textbox could be configured? Something like {10,20} size/max. It does not look like their is any sanitizing done on the user input. Could this be vulnerable to xss attacks? Thanks for this great tool.

  68. 68
    flipstah.blog » Blog Archive &raqu... United States »
    pingback on 20/Mar/06 at 1:00 pm # :

    [...] The work of Ozh, specifically the WordPress Theme Toolkit has helped theme developers come up with interesting ways to manage sidebars, may they be horizontal or vertical. Kyle Neath used the same toolkit when he made the Hemingway theme. [...]

  69. 69
    Ron United States »
    replied, on 02/Apr/06 at 6:59 pm # :

    Hi, I istalled the ‘Tiga’ theme and it includes your plug-in. It is installed on WP1.5.1.3.Everything is installed as per instructions. Repeatedly. The problem is that this warning appears;

    Fatal error: Call to undefined function: add_theme_page() in /home/ronpembe/public_html/wp-content/themes/tiga/themetoolkit.php on line 84

    I am still a newbie to PHP; which I only started learning a year ago. Could you please tell me what this could be?

    Thanks in advance

    Ron

  70. 70
    hadi farnoud Iran »
    replied, on 09/Apr/06 at 8:27 pm # :

    i’ve got this error when use minimalistic theme,
    Fatal error: Call to undefined function add_theme_page() in /home/users/farnoud/wp-content/themes/minimal/themetoolkit.php on line 84

  71. 71
    » Blog Archive » WordPress T... United States »
    pingback on 14/Apr/06 at 5:37 am # :

    [...] WordPress Theme Toolkit [...]

  72. 72
    Scott United States »
    wrote, on 24/Apr/06 at 6:29 pm # :

    I’ve just rereleased two of my themes and a new theme all of which use the WordPress Theme Toolkit. I’m not a coder nor a designer by any means, but I found this tool very, very useful and pretty easy to get a grasp on and use effectively. Well done.

    plaintxt.org » Themes

  73. 73
    felipe.lavin Chile »
    wrote, on 14/May/06 at 6:42 am # :

    Excellent work!

    I have a question: how can I pass some variable through the “texturize” filter?

    For instance, I’ve created an “About” textarea, but I would like that the contents of that textarea could be “texturized”, to add paragraphs and breaks. Is this posible?

  74. 74
    Ozh France »
    commented, on 14/May/06 at 9:40 am # :

    Felipe » well instead of echo($stuff) you just echo wptexturize($stuff) …

  75. 75
    felipe.lavin Chile »
    wrote, on 14/May/06 at 11:19 am # :

    Thanks!

    Actually, what I was looking for was wpautop($stuff); that’s the filter that manages paragraphs and breaks… just in case anyone was wondering :P

    Once again, great work!

  76. 76
    Scott United States »
    commented, on 31/May/06 at 5:55 pm # :

    Hey Ozh: I’ve had a lot of luck with the toolkit—awesome. I am, however, going nuts trying to figure something out with my limited PHP/MySQL knowledge.

    I have a home.php with two layouts. Depending on a checkbox in theme options, one is used with a specific post/page, like a CMS. I’ve made the two layouts, but I can’t figure out how to make an option for a page slug to be entered and then placed in the query_posts('pagename=X‘).

    I would greatly appreciate any help.

    Thanks.

    scott

  77. 77
    Scott United States »
    said, on 01/Jun/06 at 5:44 pm # :

    Ozh rocked my query from above. Thanks, Ozh. The WP Theme Toolkit has made my themes better. No! it has made my themes actually usable. Thanks for this.

  78. 78
    Ozh France »
    wrote, on 01/Jun/06 at 8:59 pm # :

    Scott » you’re welcome :) keep releasing neat themes !

  79. 79
    felipe.lavin Chile »
    replied, on 14/Jun/06 at 4:58 am # :

    Hi, it’s me again… I just wanted to know if there is any license protecting your work… the thing it’s I’m thinking of release a theme with a GPL license, but that license shouldn’t include your work, would it? So… what kind of license should be stated as protecting the theme toolkit?

  80. 80
    Ozh France »
    wrote, on 14/Jun/06 at 8:08 am # :

    Felipe » GPL is fine. To be honest, I don’t even care about this. I always have the feeling that whenever you release some code, well, it’s more or less getting public domain. The only thing that I care about is that whenever a theme author releases a new theme using the toolkit, I’m notified (trackback, link, mail) about it. That makes my day :)

  81. 81
    Karthik India »
    commented, on 04/Jul/06 at 1:02 pm # :

    hey i am designing a theme and i wanted a query like this to be generated.. in a function called mytheme_asides()

    // query_posts(’category_name=”asides”&showposts=4′);

    how do i do it.. i want “asides” to be replaced by $mytheme->options['asides'] and 4 to be replaced by $mytheme->options['asides_num']..

    please help me out..

  82. 82
    aseed France »
    replied, on 31/Jul/06 at 8:53 am # :

    Great job merci beaucoup
    sympa knorr ;-)

  83. 83
    sapinto Chile »
    commented, on 22/Sep/06 at 7:42 am # :

    crystal.

    nice work dude ;)

  84. 84
    John Ireland »
    wrote, on 20/Oct/06 at 6:34 am # :

    Thank you so much. I am no expert with php and the toolkit has give me loads of options to edit my own blog. This is such a great tool and thank you again!

  85. 85
    Eugen Tuning Germany »
    replied, on 24/Oct/06 at 10:59 pm # :

    Ozh , thanks for tool, great idea. downloaded and installed, but must test in my testblog :)

  86. 86
    arena France »
    commented, on 25/Oct/06 at 12:42 am # :

    Bonjour,

    j’ai juste rajouté ces quelques lignes dans la fonction print :

    case ’select’:
    print $matches[1].”\n”;
    print “”;
    while ($items) {
    $v=array_shift($items);
    $t=array_shift($items);
    $selected=”;
    if ($v == $this->option[$key]) $selected=’ selected’;
    print “$t\n”;
    }
    print “”;
    break;

    et ca marche !!!!!!!!