Skip to content

Instantly share code, notes, and snippets.

@dejardine
Created June 26, 2019 03:44
Show Gist options
  • Save dejardine/4f4dfac658649cdee250ddc10167eec3 to your computer and use it in GitHub Desktop.
Save dejardine/4f4dfac658649cdee250ddc10167eec3 to your computer and use it in GitHub Desktop.
Load Metabox via Functions
require get_template_directory() . '/lib/meta-box/meta-box.php'; // Metabox
require get_template_directory() . '/lib/meta-box-group/meta-box-group.php'; // Metabox Groups
require get_template_directory() . '/lib/meta-box-show-hide/meta-box-show-hide.php'; // Metabox Show / Hide
require get_template_directory() . '/lib/meta-box-conditional-logic/meta-box-conditional-logic.php'; // Metabox Show / Hide
// Include the meta box definition (the file where you define meta boxes, see `demo/demo.php`)
include 'meta.php';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment