private static function _set_custom_field_def_template()
 {
     $def['label']['name'] = 'custom_fields[[+def_i+]][label]';
     $def['label']['label'] = __('Label', CCTM::txtdomain);
     $def['label']['value'] = '';
     $def['label']['extra'] = '';
     $def['label']['description'] = '';
     $def['label']['type'] = 'text';
     $def['label']['sort_param'] = 1;
     $def['name']['name'] = 'custom_fields[[+def_i+]][name]';
     $def['name']['label'] = __('Name', CCTM::txtdomain);
     $def['name']['value'] = '';
     $def['name']['extra'] = '';
     $def['name']['description'] = __('The name identifies the option_name in the wp_postmeta database table. You will use this name in your template functions to identify this custom field.', CCTM::txtdomain);
     $def['name']['type'] = 'text';
     $def['name']['sort_param'] = 2;
     $def['description']['name'] = 'custom_fields[[+def_i+]][description]';
     $def['description']['label'] = __('Description', CCTM::txtdomain);
     $def['description']['value'] = '';
     $def['description']['extra'] = '';
     $def['description']['description'] = '';
     $def['description']['type'] = 'textarea';
     $def['description']['sort_param'] = 3;
     $def['type']['name'] = 'custom_fields[[+def_i+]][type]';
     $def['type']['label'] = __('Input Type', CCTM::txtdomain);
     $def['type']['value'] = 'text';
     $def['type']['extra'] = ' onchange="javascript:addRemoveDropdown(this.parentNode.id,this.value, [+def_i+])"';
     $def['type']['description'] = '';
     $def['type']['type'] = 'dropdown';
     $def['type']['options'] = array('checkbox', 'dropdown', 'media', 'relation', 'text', 'textarea', 'wysiwyg');
     $def['type']['sort_param'] = 4;
     $def['sort_param']['name'] = 'custom_fields[[+def_i+]][sort_param]';
     $def['sort_param']['label'] = __('Sort Order', CCTM::txtdomain);
     $def['sort_param']['value'] = '';
     $def['sort_param']['extra'] = ' size="2" maxlength="4"';
     $def['sort_param']['description'] = __('This controls where this field will appear on the page. Fields with smaller numbers will appear higher on the page.', CCTM::txtdomain);
     $def['sort_param']['type'] = 'text';
     $def['sort_param']['sort_param'] = 5;
     self::$custom_field_def_template = $def;
 }