CMB2
WordPress-Plugin-Boilerplate
CMB2 | WordPress-Plugin-Boilerplate | |
---|---|---|
3 | 5 | |
2,904 | 7,546 | |
0.3% | - | |
6.1 | 0.0 | |
about 1 month ago | 4 months ago | |
PHP | PHP | |
GNU General Public License v3.0 only | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
CMB2
-
Any frameworks for plugin development out there?
So far in this current project, I added CMB2 as a composer dependency, and that's done just enough to take away the headache of adding custom metaboxes and input fields to different pages. I feel like maybe if I just get myself the most basic toolkit to handle these common tasks, and a boilerplate to start me off with some structure, I may be able to wrap my mind around the way WP expects things to be added and registered the more I work with it.
- Multiple dates in date picker?
-
How do you implement a custom field library on Wordpress that can have an infinite number of fields?
You might also check out CMB2, which is a bit more efficient query-wise with repeater fields than ACF Pro.
WordPress-Plugin-Boilerplate
-
Any frameworks for plugin development out there?
I just started on a new plugin, and I used this boilerplate as my jumping-off point. So far, it seems to abstract away from wordpress just a little less than something like the Underpin framework I linked to in the original post does, so I feel like it's helping me get a bit of a feel for how WP handles things, while also adding some much-needed structure and doing things like helping separate the dashboard side from the frontend side. As for the REST API side, where would you turn to that? Is that just when you want to expose bits of the site to external services, or would you use it to allow internal components to communicate with one another or something like that?
-
Where to start with plugin development? I have previous experience from web development.
https://pippinsplugins.com/learn/. I learned quite a bit from Pippin. I use the WordPress Plugin Boilerplate when I create custom plugins (https://wppb.io/). If you go that route, you'll end up learning OOP PHP in the process.
- WP plugin: Some simple plugin code?
-
Well Written Plugins
The WordPress Plugin Boilerplate is a nice template for starting your next plugin. It's certainly not the only way to do things, but you can learn a lot by going through it.
-
How to write a Plugin manager?
Take a look at the plugin boilerplate repo to get an idea of how a good plugin (with more than just basic functionality) might be set up. Way down at the bottom of plugin-name.php, it calls run_plugin_name(), which then calls other things and other things and other things, etc.
What are some alternatives?
WooCommerce - A customizable, open-source ecommerce platform built on WordPress. Build any commerce solution you can imagine.
underpin - A WordPress Framework that makes building scale-able plugins and themes easier.
bedrock - WordPress boilerplate with Composer, easier configuration, and an improved folder structure
carlalexander.ca - Repository for carlalexander.ca
wp-bootstrap-navwalker - A custom WordPress nav walker class to fully implement the Twitter Bootstrap 4.0+ navigation style (v3-branch available for Bootstrap 3) in a custom theme using the WordPress built in menu manager.
timber - Create WordPress themes with beautiful OOP code and the Twig Template Engine
wordplate - WordPlate is a boilerplate for WordPress, built with Composer and designed with sensible defaults.
method-generator - This project allows you to rapidly create custom builds of the Method theme using Gulp and Nunjucks.