Adding Featured Mobile Images via CMB2

The other day, I shared how to add your WordPress plugin to Packagist. In the post, I mention that I did this with a recent project though I didn’t go into any detail about it. In short, the purpose of the plugin is to make it easy to add featured mobile images to WordPress.

For those who are familiar with CMB2, then you know it’s often used as a way (if not the way) for many developers to incorporate custom meta boxes into WordPress. And for the requirements on a project, I needed to introduce the ability to have a mobile featured imaged.

So to gain experience with creating a CMB2-based plugin and to learn how to use Packagist, I thought I’d use the project as an opportunity to do both.

Continue reading “Adding Featured Mobile Images via CMB2”