Site icon DsgnWrks

New Custom Metaboxes and Fields (CMB) Field Type, oEmbeds

After adding an issue on the github page with a request for this field type, Jared Atchison offered to give me commit access to the repo. I spent a few hours yesterday adding this field type and I’m pretty happy with the results. It uses ajax to auto-populate a preview below the input so you get real-time results if your embed is going to work or not. I documented working with the new field type here.

If you’ve never used CMB and have no idea what I’m talking about but are intrigued, definitely go check it out.

Custom Metaboxes and Fields (CMB for short) will create metaboxes with custom fields that will blow your mind.

Here are some screenshots of different oEmbed urls at work:

Exit mobile version