ASTRA_THEME_SETTINGS . '[blog-post-layout-divider]', 'section' => 'section-blog', 'title' => __( 'Post Spacing', 'astra-addon' ), 'type' => 'control', 'control' => 'ast-heading', 'priority' => 164, 'divider' => array( 'ast_class' => 'ast-bottom-spacing' ), 'context' => astra_addon_builder_helper()->design_tab, ), /** * Option: Post Outside Spacing */ array( 'name' => ASTRA_THEME_SETTINGS . '[blog-post-outside-spacing]', 'default' => astra_get_option( 'blog-post-outside-spacing' ), 'type' => 'control', 'control' => 'ast-responsive-spacing', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_responsive_spacing' ), 'transport' => 'postMessage', 'section' => 'section-blog', 'context' => astra_addon_builder_helper()->design_tab, 'priority' => 165, 'title' => __( 'Outside', 'astra-addon' ), 'linked_choices' => true, 'unit_choices' => array( 'px', 'em', '%' ), 'choices' => array( 'top' => __( 'Top', 'astra-addon' ), 'right' => __( 'Right', 'astra-addon' ), 'bottom' => __( 'Bottom', 'astra-addon' ), 'left' => __( 'Left', 'astra-addon' ), ), 'divider' => array( 'ast_class' => 'ast-bottom-section-divider' ), ), /** * Option: Post Inside Spacing */ array( 'name' => ASTRA_THEME_SETTINGS . '[blog-post-inside-spacing]', 'default' => astra_get_option( 'blog-post-inside-spacing' ), 'type' => 'control', 'control' => 'ast-responsive-spacing', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_responsive_spacing' ), 'transport' => 'postMessage', 'section' => 'section-blog', 'context' => astra_addon_builder_helper()->design_tab, 'priority' => 170, 'title' => __( 'Inside', 'astra-addon' ), 'linked_choices' => true, 'unit_choices' => array( 'px', 'em', '%' ), 'choices' => array( 'top' => __( 'Top', 'astra-addon' ), 'right' => __( 'Right', 'astra-addon' ), 'bottom' => __( 'Bottom', 'astra-addon' ), 'left' => __( 'Left', 'astra-addon' ), ), ), /** * Option: Post Pagination Spacing */ array( 'name' => ASTRA_THEME_SETTINGS . '[blog-post-pagination-spacing]', 'default' => astra_get_option( 'blog-post-pagination-spacing' ), 'type' => 'control', 'control' => 'ast-responsive-spacing', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_responsive_spacing' ), 'transport' => 'postMessage', 'section' => 'section-blog', 'priority' => 175, 'title' => __( 'Pagination', 'astra-addon' ), 'context' => array( astra_addon_builder_helper()->design_tab_config, array( 'setting' => ASTRA_THEME_SETTINGS . '[blog-pagination]', 'operator' => '==', 'value' => 'number', ), ), 'linked_choices' => true, 'unit_choices' => array( 'px', 'em', '%' ), 'choices' => array( 'top' => __( 'Top', 'astra-addon' ), 'right' => __( 'Right', 'astra-addon' ), 'bottom' => __( 'Bottom', 'astra-addon' ), 'left' => __( 'Left', 'astra-addon' ), ), 'divider' => array( 'ast_class' => 'ast-top-section-divider' ), ), ); return array_merge( $configurations, $_configs ); } } } /** * Kicking this off by calling 'get_instance()' method */ new Astra_Customizer_Blog_Spacing_Configs();