芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/www/ebpt.pulsehost.co.uk/wp-content/plugins/lte-ext/redux/sections/cpt.php
esc_html__( 'Post Types', 'tofit' ), 'id' => 'cpt-options', 'icon' => 'el el-home', ] ); Redux::set_section( $opt_name, [ 'title' => esc_html__( 'Blog Layout', 'tofit' ), 'id' => 'blog-cpt-options', 'subsection' => true, 'fields' => [ [ 'id' => 'blog_layout', 'type' => 'select', 'title' => __( 'Blog Layout', 'tofit' ), 'options' => [ 'classic' => __( 'One Column', 'tofit'), 'two-cols' => __( 'Two Columns', 'tofit'), 'three-cols' => __( 'Three Columns', 'tofit'), ] ], [ 'id' => 'blog_list_sidebar', 'type' => 'select', 'title' => __( 'Blog List Sidebar', 'tofit' ), 'options' => [ 'hidden' => __( 'Hidden', 'tofit'), 'left' => __( 'Left', 'tofit'), 'right' => __( 'Right', 'tofit'), ] ], [ 'id' => 'blog_post_sidebar', 'type' => 'select', 'title' => __( 'Blog Post Sidebar', 'tofit' ), 'options' => [ 'hidden' => __( 'Hidden', 'tofit'), 'left' => __( 'Left', 'tofit'), 'right' => __( 'Right', 'tofit'), ] ], [ 'id' => 'excerpt_auto', 'type' => 'text', 'title' => __( 'Excerpt Classic Blog Size', 'tofit' ), ], [ 'id' => 'excerpt_masonry_auto', 'type' => 'text', 'title' => __( 'Excerpt Masonry Blog Size', 'tofit' ), ], [ 'id' => 'blog_gallery_autoplay', 'type' => 'text', 'title' => __( 'Gallery post type autoplay, ms', 'tofit' ), ], ] ] ); Redux::set_section( $opt_name, [ 'title' => esc_html__( 'Services', 'tofit' ), 'id' => 'services-options', 'subsection' => true, 'fields' => [ [ 'id' => 'services_header', 'type' => 'text', 'title' => __( 'Services Header', 'tofit' ), ], [ 'id' => 'services_slug', 'type' => 'text', 'title' => __( 'Services slug', 'tofit' ), 'default' => 'services', ], [ 'id' => 'services_list_sidebar', 'type' => 'select', 'title' => __( 'Services List Sidebar', 'tofit' ), 'options' => [ 'hidden' => __( 'Hidden', 'tofit'), 'left' => __( 'Left', 'tofit'), 'right' => __( 'Right', 'tofit'), ] ], [ 'id' => 'services_post_sidebar', 'type' => 'select', 'title' => __( 'Services Post Sidebar', 'tofit' ), 'options' => [ 'hidden' => __( 'Hidden', 'tofit'), 'left' => __( 'Left', 'tofit'), 'right' => __( 'Right', 'tofit'), ] ], ] ] ); Redux::set_section( $opt_name, [ 'title' => esc_html__( 'Testimonials', 'tofit' ), 'id' => 'testimonials-options', 'subsection' => true, 'fields' => [ [ 'id' => 'testimonials_header', 'type' => 'text', 'title' => __( 'Testimonials Header', 'tofit' ), ], [ 'id' => 'testimonials_slug', 'type' => 'text', 'title' => __( 'Testimonials slug', 'tofit' ), ], ] ] ); Redux::set_section( $opt_name, [ 'title' => esc_html__( 'Gallery', 'tofit' ), 'id' => 'gallery-options', 'subsection' => true, 'fields' => [ [ 'id' => 'gallery_layout', 'type' => 'select', 'title' => __( 'Default Gallery Layout', 'tofit' ), 'options' => [ 'col-2' => __( 'Two Columns', 'tofit'), 'col-3' => __( 'Three Columns', 'tofit'), 'col-4' => __( 'Four Columns', 'tofit'), ] ], ] ] );