Meta Box Lite
Meta Box

Blog

How to Add Custom JavaScript Actions Using Button Field with Meta Box

How to Add Custom JavaScript Actions Using Button Field with Meta Box

In WordPress, there are only default functional buttons on the backend to do some actions like submitting posts or adding categories. Do you want to add other custom functional buttons to make your management much easier? Today, we’ll find a way to add custom JavaScript actions using the Button field with Meta Box in the most convenient way.

Continue reading "How to Add Custom JavaScript Actions Using Button Field with Meta Box"

Configure Homepage Using Mb Views

Configure Homepage Using MB Views

Regularly updating the homepage brings fresh content and helps impress website visitors easier. However, it may take time and effort to change its content. You definitely can avoid it with the help of custom fields created with Meta Box and MB Views. Let’s say goodbye to the hassle of coding in theme's files!

Continue reading "Configure Homepage Using MB Views"

Modernizing JavaScript Code in WordPress

Modernizing JavaScript Code in WordPress

I’ve just had a nice experience improving and modernizing a large JavaScript codebase in a WordPress plugin. The original code was written in an old-fashioned way with jQuery in a single large file. Using modern EcmaScript and tools like Webpack, I was able to split it into modules and improve the code structure. The new code is much more readable and maintainable, and of course, fewer bugs. In this tutorial, I’ll show you how I did that.

Continue reading "Modernizing JavaScript Code in WordPress"

MB Views How To Display Relationships

MB Views: How To Display Relationships?

In the introduction video of MB Views, we showed you how to use the plugin to get post fields and custom fields to display on singular and archive pages. But MB Views is more powerful than that. It allows you to run almost all PHP code in the view. In this tutorial, we're going to use the plugin to display connected items from relationships, creating with the MB Relationships extension.

Continue reading "MB Views: How To Display Relationships?"

Free resources for WordPress users during COVID-19

Free resources for WordPress users during COVID-19

The Coronavirus crisis (COVID-19) is spreading all over the world. It affects all of us and our businesses. Your company might switch to work from home, and your sales might decrease. In this hard time, many companies are showing their generosity. They offer their products and services for free or at huge discounts to help people to get through this time.

Continue reading "Free resources for WordPress users during COVID-19"