Category Archives: wordpress

Custom meta checkbox

$prefix = ‘mcb_’; $meta_box = array( ‘id’ => ‘my-meta-box’, ‘title’ => ‘Custom meta box’, ‘page’ => ‘post’, ‘context’ => ‘normal’, ‘priority’ => ‘high’, ‘fields’ => array( array( ‘name’ => ‘Enable Byline’, ‘id’ => $prefix . ‘checkbox’, ‘type’ => ‘checkbox’ ) … Continue reading

Posted in wordpress | Leave a comment