Skip to content

Instantly share code, notes, and snippets.

@amElnagdy
Last active May 1, 2016 19:53
Show Gist options
  • Save amElnagdy/a5fc01242372d017daaf0e29897129be to your computer and use it in GitHub Desktop.
Save amElnagdy/a5fc01242372d017daaf0e29897129be to your computer and use it in GitHub Desktop.
Add Page Layout to CPT Meta Box
// Add Page Layout to CPT Meta Box
function divi_override_js() {
wp_enqueue_script( 'custom_script', get_stylesheet_directory_uri() .'/custom_script.js', array( 'jquery'), '1', true );
}
add_action('admin_enqueue_scripts','divi_override_js',1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment