' . $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 ); } } }