From 69c17f9c1942fd0d6a5ea941636e87723b8a6fe2 Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Wed, 21 Jul 2021 16:19:29 -0500 Subject: dos2unix on all .php files, begin paring down admin page and site branding. --- .../class-astra-content-typo-configs.php | 544 ++++++++++----------- 1 file changed, 272 insertions(+), 272 deletions(-) (limited to 'inc/customizer/configurations/typography/class-astra-content-typo-configs.php') diff --git a/inc/customizer/configurations/typography/class-astra-content-typo-configs.php b/inc/customizer/configurations/typography/class-astra-content-typo-configs.php index e6a99d2..777d9a0 100644 --- a/inc/customizer/configurations/typography/class-astra-content-typo-configs.php +++ b/inc/customizer/configurations/typography/class-astra-content-typo-configs.php @@ -1,272 +1,272 @@ - ASTRA_THEME_SETTINGS . '[divider-section-h1]', - 'type' => 'control', - 'control' => 'ast-heading', - 'section' => 'section-content-typo', - 'priority' => 4, - 'title' => __( 'Heading 1', 'astra' ), - 'settings' => array(), - ), - - /** - * Option: Heading 1 (H1) Font Size - */ - array( - 'name' => ASTRA_THEME_SETTINGS . '[font-size-h1]', - 'type' => 'control', - 'control' => 'ast-responsive', - 'section' => 'section-content-typo', - 'default' => astra_get_option( 'font-size-h1' ), - 'transport' => 'postMessage', - 'priority' => 6, - 'title' => __( 'Size', 'astra' ), - 'input_attrs' => array( - 'min' => 0, - ), - 'units' => array( - 'px' => 'px', - 'em' => 'em', - ), - ), - - /** - * Option: Heading 2 (H2) Divider - */ - array( - 'name' => ASTRA_THEME_SETTINGS . '[divider-section-h2]', - 'type' => 'control', - 'control' => 'ast-heading', - 'section' => 'section-content-typo', - 'priority' => 9, - 'title' => __( 'Heading 2', 'astra' ), - 'settings' => array(), - ), - - /** - * Option: Heading 2 (H2) Font Size - */ - array( - 'name' => ASTRA_THEME_SETTINGS . '[font-size-h2]', - 'type' => 'control', - 'control' => 'ast-responsive', - 'section' => 'section-content-typo', - 'default' => astra_get_option( 'font-size-h2' ), - 'transport' => 'postMessage', - 'priority' => 11, - 'title' => __( 'Size', 'astra' ), - 'input_attrs' => array( - 'min' => 0, - ), - 'units' => array( - 'px' => 'px', - 'em' => 'em', - ), - ), - - /** - * Option: Heading 3 (H3) Divider - */ - array( - 'name' => ASTRA_THEME_SETTINGS . '[divider-section-h3]', - 'type' => 'control', - 'control' => 'ast-heading', - 'section' => 'section-content-typo', - 'priority' => 15, - 'title' => __( 'Heading 3', 'astra' ), - 'settings' => array(), - ), - - /** - * Option: Heading 3 (H3) Font Size - */ - array( - 'name' => ASTRA_THEME_SETTINGS . '[font-size-h3]', - 'type' => 'control', - 'control' => 'ast-responsive', - 'section' => 'section-content-typo', - 'priority' => 16, - 'default' => astra_get_option( 'font-size-h3' ), - 'transport' => 'postMessage', - 'title' => __( 'Size', 'astra' ), - 'input_attrs' => array( - 'min' => 0, - ), - 'units' => array( - 'px' => 'px', - 'em' => 'em', - ), - ), - - /** - * Option: Heading 4 (H4) Divider - */ - array( - 'name' => ASTRA_THEME_SETTINGS . '[divider-section-h4]', - 'type' => 'control', - 'title' => __( 'Heading 4', 'astra' ), - 'section' => 'section-content-typo', - 'control' => 'ast-heading', - 'priority' => 20, - 'settings' => array(), - ), - - /** - * Option: Heading 4 (H4) Font Size - */ - array( - 'name' => ASTRA_THEME_SETTINGS . '[font-size-h4]', - 'type' => 'control', - 'control' => 'ast-responsive', - 'section' => 'section-content-typo', - 'default' => astra_get_option( 'font-size-h4' ), - 'transport' => 'postMessage', - 'priority' => 21, - 'title' => __( 'Size', 'astra' ), - 'input_attrs' => array( - 'min' => 0, - ), - 'units' => array( - 'px' => 'px', - 'em' => 'em', - ), - ), - - /** - * Option: Heading 5 (H5) Divider - */ - array( - 'name' => ASTRA_THEME_SETTINGS . '[divider-section-h5]', - 'type' => 'control', - 'control' => 'ast-heading', - 'section' => 'section-content-typo', - 'priority' => 25, - 'title' => __( 'Heading 5', 'astra' ), - 'settings' => array(), - ), - - /** - * Option: Heading 5 (H5) Font Size - */ - array( - 'name' => ASTRA_THEME_SETTINGS . '[font-size-h5]', - 'type' => 'control', - 'control' => 'ast-responsive', - 'section' => 'section-content-typo', - 'default' => astra_get_option( 'font-size-h5' ), - 'transport' => 'postMessage', - 'priority' => 26, - 'title' => __( 'Size', 'astra' ), - 'input_attrs' => array( - 'min' => 0, - ), - 'units' => array( - 'px' => 'px', - 'em' => 'em', - ), - ), - - /** - * Option: Heading 6 (H6) Divider - */ - array( - 'name' => ASTRA_THEME_SETTINGS . '[divider-section-h6]', - 'type' => 'control', - 'control' => 'ast-heading', - 'title' => __( 'Heading 6', 'astra' ), - 'section' => 'section-content-typo', - 'priority' => 30, - 'settings' => array(), - ), - - /** - * Option: Heading 6 (H6) Font Size - */ - array( - 'name' => ASTRA_THEME_SETTINGS . '[font-size-h6]', - 'type' => 'control', - 'control' => 'ast-responsive', - 'section' => 'section-content-typo', - 'default' => astra_get_option( 'font-size-h6' ), - 'transport' => 'postMessage', - 'priority' => 31, - 'title' => __( 'Size', 'astra' ), - 'input_attrs' => array( - 'min' => 0, - ), - 'units' => array( - 'px' => 'px', - 'em' => 'em', - ), - ), - ); - - $configurations = array_merge( $configurations, $_configs ); - - // Learn More link if Astra Pro is not activated. - if ( ! defined( 'ASTRA_EXT_VER' ) ) { - - $_configs = array( - /** - * Option: Learn More about Contant Typography - */ - array( - 'name' => ASTRA_THEME_SETTINGS . '[ast-content-typography-more-feature-description]', - 'type' => 'control', - 'control' => 'ast-description', - 'section' => 'section-content-typo', - 'priority' => 999, - 'title' => '', - 'help' => '

' . __( 'More Options Available in Astra Pro!', 'astra' ) . '

' . __( 'Learn More', 'astra' ) . '', - 'settings' => array(), - ), - ); - - $configurations = array_merge( $configurations, $_configs ); - - } - - return $configurations; - } - } -} - -new Astra_Content_Typo_Configs(); - - + ASTRA_THEME_SETTINGS . '[divider-section-h1]', + 'type' => 'control', + 'control' => 'ast-heading', + 'section' => 'section-content-typo', + 'priority' => 4, + 'title' => __( 'Heading 1', 'astra' ), + 'settings' => array(), + ), + + /** + * Option: Heading 1 (H1) Font Size + */ + array( + 'name' => ASTRA_THEME_SETTINGS . '[font-size-h1]', + 'type' => 'control', + 'control' => 'ast-responsive', + 'section' => 'section-content-typo', + 'default' => astra_get_option( 'font-size-h1' ), + 'transport' => 'postMessage', + 'priority' => 6, + 'title' => __( 'Size', 'astra' ), + 'input_attrs' => array( + 'min' => 0, + ), + 'units' => array( + 'px' => 'px', + 'em' => 'em', + ), + ), + + /** + * Option: Heading 2 (H2) Divider + */ + array( + 'name' => ASTRA_THEME_SETTINGS . '[divider-section-h2]', + 'type' => 'control', + 'control' => 'ast-heading', + 'section' => 'section-content-typo', + 'priority' => 9, + 'title' => __( 'Heading 2', 'astra' ), + 'settings' => array(), + ), + + /** + * Option: Heading 2 (H2) Font Size + */ + array( + 'name' => ASTRA_THEME_SETTINGS . '[font-size-h2]', + 'type' => 'control', + 'control' => 'ast-responsive', + 'section' => 'section-content-typo', + 'default' => astra_get_option( 'font-size-h2' ), + 'transport' => 'postMessage', + 'priority' => 11, + 'title' => __( 'Size', 'astra' ), + 'input_attrs' => array( + 'min' => 0, + ), + 'units' => array( + 'px' => 'px', + 'em' => 'em', + ), + ), + + /** + * Option: Heading 3 (H3) Divider + */ + array( + 'name' => ASTRA_THEME_SETTINGS . '[divider-section-h3]', + 'type' => 'control', + 'control' => 'ast-heading', + 'section' => 'section-content-typo', + 'priority' => 15, + 'title' => __( 'Heading 3', 'astra' ), + 'settings' => array(), + ), + + /** + * Option: Heading 3 (H3) Font Size + */ + array( + 'name' => ASTRA_THEME_SETTINGS . '[font-size-h3]', + 'type' => 'control', + 'control' => 'ast-responsive', + 'section' => 'section-content-typo', + 'priority' => 16, + 'default' => astra_get_option( 'font-size-h3' ), + 'transport' => 'postMessage', + 'title' => __( 'Size', 'astra' ), + 'input_attrs' => array( + 'min' => 0, + ), + 'units' => array( + 'px' => 'px', + 'em' => 'em', + ), + ), + + /** + * Option: Heading 4 (H4) Divider + */ + array( + 'name' => ASTRA_THEME_SETTINGS . '[divider-section-h4]', + 'type' => 'control', + 'title' => __( 'Heading 4', 'astra' ), + 'section' => 'section-content-typo', + 'control' => 'ast-heading', + 'priority' => 20, + 'settings' => array(), + ), + + /** + * Option: Heading 4 (H4) Font Size + */ + array( + 'name' => ASTRA_THEME_SETTINGS . '[font-size-h4]', + 'type' => 'control', + 'control' => 'ast-responsive', + 'section' => 'section-content-typo', + 'default' => astra_get_option( 'font-size-h4' ), + 'transport' => 'postMessage', + 'priority' => 21, + 'title' => __( 'Size', 'astra' ), + 'input_attrs' => array( + 'min' => 0, + ), + 'units' => array( + 'px' => 'px', + 'em' => 'em', + ), + ), + + /** + * Option: Heading 5 (H5) Divider + */ + array( + 'name' => ASTRA_THEME_SETTINGS . '[divider-section-h5]', + 'type' => 'control', + 'control' => 'ast-heading', + 'section' => 'section-content-typo', + 'priority' => 25, + 'title' => __( 'Heading 5', 'astra' ), + 'settings' => array(), + ), + + /** + * Option: Heading 5 (H5) Font Size + */ + array( + 'name' => ASTRA_THEME_SETTINGS . '[font-size-h5]', + 'type' => 'control', + 'control' => 'ast-responsive', + 'section' => 'section-content-typo', + 'default' => astra_get_option( 'font-size-h5' ), + 'transport' => 'postMessage', + 'priority' => 26, + 'title' => __( 'Size', 'astra' ), + 'input_attrs' => array( + 'min' => 0, + ), + 'units' => array( + 'px' => 'px', + 'em' => 'em', + ), + ), + + /** + * Option: Heading 6 (H6) Divider + */ + array( + 'name' => ASTRA_THEME_SETTINGS . '[divider-section-h6]', + 'type' => 'control', + 'control' => 'ast-heading', + 'title' => __( 'Heading 6', 'astra' ), + 'section' => 'section-content-typo', + 'priority' => 30, + 'settings' => array(), + ), + + /** + * Option: Heading 6 (H6) Font Size + */ + array( + 'name' => ASTRA_THEME_SETTINGS . '[font-size-h6]', + 'type' => 'control', + 'control' => 'ast-responsive', + 'section' => 'section-content-typo', + 'default' => astra_get_option( 'font-size-h6' ), + 'transport' => 'postMessage', + 'priority' => 31, + 'title' => __( 'Size', 'astra' ), + 'input_attrs' => array( + 'min' => 0, + ), + 'units' => array( + 'px' => 'px', + 'em' => 'em', + ), + ), + ); + + $configurations = array_merge( $configurations, $_configs ); + + // Learn More link if Astra Pro is not activated. + if ( ! defined( 'ASTRA_EXT_VER' ) ) { + + $_configs = array( + /** + * Option: Learn More about Contant Typography + */ + array( + 'name' => ASTRA_THEME_SETTINGS . '[ast-content-typography-more-feature-description]', + 'type' => 'control', + 'control' => 'ast-description', + 'section' => 'section-content-typo', + 'priority' => 999, + 'title' => '', + 'help' => '

' . __( 'More Options Available in Astra Pro!', 'astra' ) . '

' . __( 'Learn More', 'astra' ) . '', + 'settings' => array(), + ), + ); + + $configurations = array_merge( $configurations, $_configs ); + + } + + return $configurations; + } + } +} + +new Astra_Content_Typo_Configs(); + + -- cgit v1.2.3-60-g2f50