Meta query, is a type of query that allows you to get the results based on the meta key and meta value. By using meta_query, you can make your primary WP_Query WordPress query to get…
In WordPress Customizer, you can add different types of HTML input fields and checkbox is one of them. To add a checkbox with WordPress customizer all you have to set the type of customizer control…
Displaying all the pages of your website as a dropdown or select field within the WordPress customizer is super easy. However, you can create custom WordPress customizer control to display all the pages as a…
As a theme or plugin developer, there can be a chance where you want to add css styles to your custom metabox. Here I will show you the two ways to add CSS styling to…
If you are working on a WordPress plugin then there can be a chance where you need to add a custom metabox to the post, page, or custom post types. So, here I will create…
The following code snippet will help you to add multiple custom meta boxes in WordPress. Copy the code given below and add this code into your theme’s functions.php file or if you want to add…
Meta boxes in WordPress are the draggable boxes that exist in WordPress admin. It contains form fields to set information about the post, page, custom post type, terms, users, comments etc. Meta box can also…
To add WordPress custom meta box with multiple fields, first I will create a meta box with multiple fields. So in this case, I will add text, select, textarea, radio and checkbox input fields in…
Want to learn about how to add and use WYSIWYG or WP editor with your custom WordPress metabox, then trust me, it’s super easy. To add wp editor or wysiwyg editor, WordPress provides a function…