This code creates a new meta box you can enable from the Screen Options on any Edit Post screen.
No need to install a plugin to create the meta box or check box.
The meta box includes a checkbox which you can tick or untick.
The value ( ticked or unticked ) is saved to the database using the
You can use the checkbox to enable or disable default or custom functionality in Genesis on every single post or page and even on custom post types.
In this example, the checkbox removes the author box from any single post.
The code creates a custom field included in the meta box checkbox form type.
All the code is included in a seperate file you simply upload to your child themes root directory and include the following line in your functions file:
include_once( get_stylesheet_directory() . '/author-box-checkbox.php' );
Here’s the file for members:
You need to subscribe to fully access this tutorial.