SRST Titles Table
Used for SRST Propsed Titles Table
// Add Shortcode function SRST_Proposed_Titles_Table( $atts ) { // Attributes $atts = shortcode_atts( array( ), $atts ); if( function_exists('acf_add_local_field_group') ): acf_add_local_field_group(array( 'key' => 'group_612fcc7165988', 'title' => 'Proposed Titles', 'fields' => array( array( 'key' => 'field_612fcc904a293', 'label' => 'Title Document', 'name' => 'title_doc', 'type' => 'file', 'instructions' => '', 'required' => 1, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'library' => 'all', 'min_size' => '', 'max_size' => '', 'mime_types' => '', ), array( 'key' => 'field_612fccbd4a294', 'label' => 'End of Comment Period', 'name' => 'title_date', 'type' => 'date_picker', 'instructions' => '', 'required' => 1, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'display_format' => 'F j, Y', 'return_format' => 'F j, Y', 'first_day' => 0, ), array( 'key' => 'field_612fe5f793a22', 'label' => 'Title Number', 'name' => 'title_number', 'type' => 'number', 'instructions' => 'This will be used for sorting', 'required' => 1, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'min' => '', 'max' => '', 'step' => '', ), ), 'location' => array( array( array( 'param' => 'post_category', 'operator' => '==', 'value' => 'category:titles', ), ), ), 'menu_order' => 0, 'position' => 'acf_after_title', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => '', 'active' => true, 'description' => '', 'show_in_rest' => 0, )); endif; } add_shortcode( 'Proposed Titles', 'SRST_Proposed_Titles_Table' );