Extending CMB2 Controls in for WordPress

In this tutorial I will look at how you can create a custom control to extend the functionality of CMB2 (Custom Meta Boxes 2) by WebDevStudios.

At Make Do we only develop websites (and web applications) with WordPress and when a new project lands you can guarantee that there will be a requirement for us to develop ‘Custom Meta Boxes’ to allow the user to have fine control over the sites content and layout.

Enter CMB2

I will detail how I built the CMB2 control Link Picker for CMB2 (available from all good WordPress plugin repositories). A screenshot of which can be seen below:

I am sure you will agree that having a control like this is incredibly handy if you want to give your site editors the ability add a link and also search WordPress for its internal links, rather then them having to cut and paste the links into a link field.

Read the rest of this over on Matt’s blog.

Download tutorial as an eBook Download PDF (requires email sign up)

Let's talk about you

Prefer to talk on the phone?
You can speak to Kimb by calling us direct on (+44) 01143 606660.

Email the team…
Send your requirements to hello@makedo.net and we’ll reply within 24 hours.

Make Do Blog Rewind…

You may have not noticed (we didn’t) but the last post on our Blog was number 100! So to celebrate this very small achievement we’ve dug out some of our favorite posts from the past 100 and will be re-sharing these over social media in the coming weeks!

What’s changed at Make Do since the COVID-19 lockdown?

4 weeks ago the UK was locked down because of the global COVID-19 pandemic. It has been a challenging few weeks for a small agency like ours but we’ve managed to adapt quickly to the change and remain productive in the ‘new normal’.

Read more blog posts

Sign up to our newsletter