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. --- inc/customizer/class-astra-customizer-partials.php | 316 ++++++++++----------- 1 file changed, 158 insertions(+), 158 deletions(-) (limited to 'inc/customizer/class-astra-customizer-partials.php') diff --git a/inc/customizer/class-astra-customizer-partials.php b/inc/customizer/class-astra-customizer-partials.php index 906b49c..6995003 100644 --- a/inc/customizer/class-astra-customizer-partials.php +++ b/inc/customizer/class-astra-customizer-partials.php @@ -1,158 +1,158 @@ - ' . $custom_button_text . ' '; - return do_shortcode( $html ); - } - - /** - * Render Partial Text Header Site Title & Tagline - * - * @since 2.2.0 - * - * @return mixed - */ - public static function render_header_site_title_tagline() { - $site_title = astra_get_option( 'display-site-title-responsive' ); - $display_site_title = ( $site_title['desktop'] || $site_title['tablet'] || $site_title['mobile'] ) ? true : false; - $site_tagline = astra_get_option( 'display-site-tagline-responsive' ); - $display_site_tagline = ( $site_tagline['desktop'] || $site_tagline['tablet'] || $site_tagline['mobile'] ) ? true : false; - - - $html = astra_get_site_title_tagline( $display_site_title, $display_site_tagline ); - - return do_shortcode( $html ); - } - - /** - * Render Partial Footer Section 1 Credit - * - * @since 1.0.0 - * - * @return mixed - */ - public static function render_footer_sml_section_1_credit() { - - $output = astra_get_small_footer_custom_text( 'footer-sml-section-1-credit' ); - return do_shortcode( $output ); - } - - /** - * Render Partial Footer Section 2 Credit - * - * @since 1.0.0 - * - * @return mixed - */ - public static function render_footer_sml_section_2_credit() { - - $output = astra_get_small_footer_custom_text( 'footer-sml-section-2-credit' ); - return do_shortcode( $output ); - } - - /** - * Render Partial text for the mobile toggle menu - * - * @since 2.6.0 - * - * @return mixed - */ - public static function mobile_toggle_menu() { - - $output = astra_masthead_toggle_buttons_primary(); - return do_shortcode( $output ); - } - } -} + ' . $custom_button_text . ' '; + return do_shortcode( $html ); + } + + /** + * Render Partial Text Header Site Title & Tagline + * + * @since 2.2.0 + * + * @return mixed + */ + public static function render_header_site_title_tagline() { + $site_title = astra_get_option( 'display-site-title-responsive' ); + $display_site_title = ( $site_title['desktop'] || $site_title['tablet'] || $site_title['mobile'] ) ? true : false; + $site_tagline = astra_get_option( 'display-site-tagline-responsive' ); + $display_site_tagline = ( $site_tagline['desktop'] || $site_tagline['tablet'] || $site_tagline['mobile'] ) ? true : false; + + + $html = astra_get_site_title_tagline( $display_site_title, $display_site_tagline ); + + return do_shortcode( $html ); + } + + /** + * Render Partial Footer Section 1 Credit + * + * @since 1.0.0 + * + * @return mixed + */ + public static function render_footer_sml_section_1_credit() { + + $output = astra_get_small_footer_custom_text( 'footer-sml-section-1-credit' ); + return do_shortcode( $output ); + } + + /** + * Render Partial Footer Section 2 Credit + * + * @since 1.0.0 + * + * @return mixed + */ + public static function render_footer_sml_section_2_credit() { + + $output = astra_get_small_footer_custom_text( 'footer-sml-section-2-credit' ); + return do_shortcode( $output ); + } + + /** + * Render Partial text for the mobile toggle menu + * + * @since 2.6.0 + * + * @return mixed + */ + public static function mobile_toggle_menu() { + + $output = astra_masthead_toggle_buttons_primary(); + return do_shortcode( $output ); + } + } +} -- cgit v1.2.3-60-g2f50