Due to the nature of this update most object constructor signatures have been changed and will need to be updated Slugs are no longer generated automatically but required on object instantiation Meta boxes have been completely reworked (see documentation for more information) Now supports multiple fields per meta box Fixed saving for checkboxes Fields are created […]
Category: WordPress Development
Posts about WordPress development.
The big change in this release is changing the View class’ render() method to be static. This means that instead of instantiating a view file and passing it into a WordPressObject you now pass the path to the view file and any view data in. This is not a backwards compatible change so any WordPressObject […]
I have extracted all the framework code so this project is now a simple boilerplate. Blank methods and an uninstall file are included to get you start. View the repository and download the source on GitHub.
The new version of my WordPress plugin framework as been released and is ready for use. New Features Meta box support Dashboard widget support Welcome panel support Object creation made simpler Check it out on GitHub.
The framework has almost been completely rewritten with this release to make the creation of WordPress objects more strongly typed and automatic. WordPress objects now have supporting classes for arguments. This cuts down on having to type in optional parameters on construction. The Settings class now has supporting classes for SettingsSection and SettingsField. The View […]
I have refactored my WordPress Plugin Framework to be independent of the plugin boilerplate that I packaged with it. The classes for Pages, Settings, Custom Post Types, Taxonomies, and Views were extracted and updated. They can now easily be included and used in any plugin. I have also set the framework up as a Composer package. […]
I wrote a better article on AJAX and WordPress so I took this one down to avoid confusion. Click this link to read How to use AJAX with WordPress.
I’m writing this article with the assumption that you know what AJAX is and does and you have a good idea of what you want to do with it. If you are not familiar with AJAX, let me Google that for you. Setting up AJAX calls in your WordPress themes and plugins can be confusing […]
UPDATE: I am using this in more places than one so I did the practical thing and created a function to drop in functions.php. See the Gist link at the end of the article for the updated code. I build most of my themes on Twitter Bootstrap which uses a 12 column grid system. You […]