add_section( 'aces_single_post_entries', array( 'title' => esc_html__( 'Single Post', 'aces' ), 'priority' => 10, 'panel' => $panel, ) ); /** * Blog Single Elements Positioning */ $wp_customize->add_setting( 'aces_blog_single_elements_positioning', array( 'default' => array( 'title', 'categories', 'featured_image', 'content', 'meta', 'tags', 'next_prev', 'related_posts', 'comments' ), 'sanitize_callback' => 'aces_sanitize_multi_choices', ) ); $wp_customize->add_control( new Aces_Customizer_Sortable_Control( $wp_customize, 'aces_blog_single_elements_positioning', array( 'label' => esc_html__( 'Elements Positioning', 'aces' ), 'section' => 'aces_single_post_entries', 'settings' => 'aces_blog_single_elements_positioning', 'priority' => 10, 'choices' => apply_filters( 'aceswp_blog_single_elements', array( 'title' => esc_html__( 'Title', 'aces' ), 'categories' => esc_html__( 'Categories', 'aces' ), 'featured_image' => esc_html__( 'Featured Image', 'aces' ), 'content' => esc_html__( 'Content', 'aces' ), 'meta' => esc_html__( 'Meta', 'aces' ), 'tags' => esc_html__( 'Tags', 'aces' ), 'next_prev' => esc_html__( 'Next/Prev Links', 'aces' ), 'related_posts' => esc_html__( 'Related Posts', 'aces' ), 'comments' => esc_html__( 'Comments', 'aces' ), ) ), ) ) );