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 for you to do some actions like submitting posts or adding categories. Do you want to add other custom buttons to make your management much easier? So, read this article to know how 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”

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”

grid gear info copy caret-up caret-down trash