lisch
Forum Replies Created
-
Forum: Requests and Feedback
In reply to: [1.5 REQ] Theme Editor Create .php File FunctionGood idea, and a good suggestion for my first stab at writing a plugin. I’m not finished yet, but I thought I would throw it out tonight. The idea is that it adds a Themes page. On that page, you can create an new file, upload a file, or delete a file.
Upload is not yet implemented because I have not figured out how to do it yet.
Also, the page is out of date after creating or deleting a file.
These problems are easy to fix, but it’s waaay past my bedtime. I’ll work on version 0.02 soon.
The plugin is at wp-plugins.net, under Themes, Styles, and Decoration. You can also go straight to my web site: http://tempest-sw.com/wp.
Forum: Fixing WordPress
In reply to: Categories in Alphabetical OrderThanks, ryan. The updated template-functions-category.php now sorts the categories correctly. One minor problem remains, namely, that hierarchical categories are not listed at all unless the parent category is listed.
The workaround is simple: ensure that each parent category has at least one post.
Forum: Plugins
In reply to: Adding admin menu functionalityThank you! Thank you! Thank you!
It works now.Forum: Plugins
In reply to: Adding admin menu functionalityThe example provides values for those arguments, or do I misunderstand? I am referring to the big example at the bottom of the page I referenced. It defines functions for the options page, manage page, etc. It calls add_options_page, add_management_page, etc., providing arguments for the page_title, menu_title, etc., parameters.
When I install the file in the plugins directory, and activate the plugin, the correct menu items are added, so the basic calls to add_options_page, etc., work just fine. The problem is that the functions that are registered in those calls do not seem to be called. When I select the Test pages for the Top level, Options, etc., I get a page with a standard header and footer, but nothing in between.
Forum: Plugins
In reply to: Adding admin menu functionalityI tried copying the text directly from <http://codex.wordpress.org/Adding_Administration_Menus>, and it adds all the right menu items, but the actual pages are blank. That is, they have the proper headers and footers, but none of the content that should be there.
It’s as though the hook functions are never being called.
I have WordPress 1.5, PHP 4.3.10.