DX Plugin Base – framework for rapid WordPress Plugin development
The DX Plugin Base plugin outlines the best practices through existing code snippets in order to make it easier for you to create your own WordPress plugin.
The plugin is ready to go – you can install it and it will simply work! Feel free to fork it away, remove and alter existing snippets and fine tune it in order to make it all yours.
It serves as a startup code providing reference and working codebase for:
- defining custom post types and taxonomies
- creating admin pages
- sample code of the Settings API implementation for admin pages
- registration of activate/deactivate hooks
- adding metaboxes on pages
- creating sample shortcode
- creating sample widget
- creating AJAX requests storing sample data in the database
- creating AJAX requests for fetching remote data with the HTTP API
- adding frontend styles/scripts the right way
- adding admin styles/scripts the right way
- defining common constants for further use
and more. Use it freely as your plugin startup snippet.
Take the code as is for test and learning or use it when creating plugins for a solid base. To be extended with
widget and shortcode samples.
