Plugin Factory makes a lot easier WordPress plugin creation.
All translation files can be found in the lang subdirectory. It contains pot, po and mo files.
I am making some tutorial on my website, so checkout : http://fredpointzero in "Plugin WordPress" page.
Well, Plugin Factory has short simplified MVC library to render your plugin, so it generates a "views" directory for views and each subdirectory correspond to a "controller". In fact, there is no controller : methods of your plugin can render views and act as controller and action. If you want to render the file located in "views/admin/menu.php", just call the method : render_admin_menu(), without defining it. If you want to make some preprocessing before the rendering, define a function : public function pre_render_(controller)_(action)(){} It will be called before the rendering
Defining WordPress Options is very simple, you have to define a public attribute in your plugin : $pluginOptions. Do not take time to create an option page, there is already one for you ! Just use the id "options" in the admin menu tree method. To have more details, please checkout http://fredpointzero.com/plugin-factory.
This is very simple : you just have to define a method that will generate the admin menu tree. To have more details, please checkout http://fredpointzero.com/plugin-factory.
Requires: 2.8.3 or higher
Compatible up to: 2.8.4
Last Updated: 2009-9-4
Downloads: 464
Got something to say? Need help?