In: , , , ,
On: 2005 / 12 / 08 Viewed: 62124 times
Shorter URL for this post:

I've just updated the WordPress Theme Toolkit to make it compatible with the upcoming WordPress 2.0

WordPress Theme Toolkit is a theme addon that allows designers to create an admin menu, integrated within WordPress' admin area, as easily as editing 3 lines in a file. Version 1.0 (initial release) of the Theme Toolkit was causing WordPress 2.0 to die, whining about some function shipped with a theme that could not be declared twice. Doh.

To upgrade, simply get version 1.1 and replace all your existing "themetoolkit.php" in all theme directories using it.

Of course, this newer version of the Theme Toolkit is downwards compatible with WordPress 1.5x. Theme authors should update their theme package files as soon as possible. Theme users are advised to upgrade too.

It's possible that once you've installed WordPress 2.0 and the newest Theme Toolkit, you still see the "cannot redeclare function" error : blame WordPress' new cache system :) Hit the "Refresh" button of your browser and you will be hopefully done.

Shorter URL

Want to share or tweet this post? Please use this short URL:


This entry "WordPress Theme Toolkit Upgrade" was posted on 08/12/2005 at 10:24 am and is tagged with , , , ,
Watch this discussion : Comments RSS 2.0.

16 Blablas

  1. Ben says:

    That's cool. Unfortunately I've gone and rewritten the admin panel for Regulus so it works in wordpress 2, however I'm sure this will be handy for other people.

  2. Steve says:

    That's great… I was waiting for it for my new theme. As i already asked to you any plan to make it internationalized having toolkit strings localizable and the variable text too ?

    An waht about having other 2 controls one to make section headers for the panel and one for textarea ?

    I know i'm never satisfied ;)

  3. Steve says:

    opps textaread is already present.. sorry :)

  4. Steve says:

    on a 2.0 installation if i have a function in function.php that use a value of the option array it get nothing, if i print the same option with an echo direclty in the theme tha value show up. If i use error_reporting(E_ALL); i got this:

    Notice: Undefined variable: mytheme in F:\40annibuttati\wp-content\themes\forty-years\functions.php on line 75

    Where the line refer to a simple line that state:

    $type = $mytheme->option['header_type'];

    Obniuosly i've the header_type value assigned infact if in a file of the theme i do:

    echo $mytheme->option['header_type'];

    The value show up. Any idea?

  5. Ozh says:

    Steve » aren't you missing a "global $mytheme" somewhere ? Also, be sure *not* to use "mytheme" as a name for your toolkit. You don't want it to conflict with another potential theme using the same name.

  6. Steve says:

    Yeah you right.. just my dumbness :) Sorry :)

    I'm using somehting different than mythem in real usage, that was just a test. Thanksfor the help and sorry for the noise :)

  7. Greg says:

    Love this theme, sweet theme. I use Mac OS X and when I switched this theme, mt browser keeps crashing. Has anyone noticed that?

  8. Greg says:

    BTW: it browser that crashes is the Safari browser. It is stable in FF 1.5.

    What is it like in IE?

  9. Ozh says:

    Nothing particular with any browser I could use under Windows and Linux. And there's is really nothing weird that should bug with Safari. As stated, this theme is very minimalist :)

  10. Greg says:

    I figured it out. It seems that the "Extended Live Archives" Plugin was making it crash. For some reason it worked fine using the K2 Beta Theme. Hmmm…

  11. Greg says:

    Perhaps this is a question for the WP forum but I am wondering why my categories are not in alphabetical order? Is there a way to make WP 2 RC1 sort categories in alphabetical order? BTW: thanks for a great theme.

  12. Steve says:

    I notice a little bug, I'm using 'option_variable' => 'Option Title ## optionnal explanations' to let people put some code that will be then evaluated with the eval() function. It's all ok but for the followin text:

    mdv_recent_comments(10, 7, ", ", true, 0);

    If i save the variable got the right value but when the value show up again in the admin panel it get truncated this way:

    mdv_recent_comments(10, 7,

    Obvoiously the problem is in the '. THe same done on a textarea work with no problem

    Would be nice have the simple filed text have an optional paramter for size.

  13. Ozh says:

    Steve » I wanted to keep things as simple as possible. Adding support for width, section titles and so on was starting to be a bit overkill. I mean, if it's harder to figure out how to build the admin menu, than to write everything yourself without using the Toolkit, where's the point ? :)

  14. Steve says:

    heheheheeh yes you are right :) But your system is so fast that even if someone knoow ho w to do stuff will use it.

    What about the problem of quote?

  15. […] WordPress Theme Toolkit Upgrade « planetOzh (tags: wordpress) […]

  16. […] Más info | aqui –> […]

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
Gravatars: Curious about the little images next to each commenter's name ? Go to Gravatar and sign for a free account
Spam: Various spam plugins may be activated. I'll put pins in a Voodoo doll if you spam me.

Read more ?