芝麻web文件管理V1.00
编辑当前文件:/home/ezdajrnh/test.ezed.pk/wp-content/themes/rife-free/advance/utilities/footer.php
get_option( 'footer_switch', 'on' ) === 'off' ){ //no theme footer return; } if ( function_exists( 'elementor_location_exits' ) && elementor_location_exits( 'footer', true ) ) { echo '';//.container-elementor-footer } } } function apollo13framework_footer_css() { global $apollo13framework_a13; $css = ''; if ( $apollo13framework_a13->get_option( 'footer_switch' ) === 'on' ) { $footer_bg_color = apollo13framework_make_css_rule( 'background-color', $apollo13framework_a13->get_option_color_rgba( 'footer_bg_color' ) ); $footer_lower_bg_color = apollo13framework_make_css_rule( 'background-color', $apollo13framework_a13->get_option_color_rgba( 'footer_lower_bg_color' ) ); $footer_font_size = apollo13framework_make_css_rule( 'font-size', $apollo13framework_a13->get_option( 'footer_font_size' ), '%spx' ); $footer_widgets_font_size = apollo13framework_make_css_rule( 'font-size', $apollo13framework_a13->get_option( 'footer_widgets_font_size' ), '%spx' ); $footer_font_color = apollo13framework_make_css_rule( 'color', $apollo13framework_a13->get_option_color_rgba( 'footer_font_color' ) ); $footer_link_color = apollo13framework_make_css_rule( 'color', $apollo13framework_a13->get_option_color_rgba( 'footer_link_color' ) ); $footer_hover_color = apollo13framework_make_css_rule( 'color', $apollo13framework_a13->get_option_color_rgba( 'footer_hover_color' ) ); $footer_separator_color = apollo13framework_make_css_rule( 'border-color', $apollo13framework_a13->get_option_color_rgba( 'footer_separator_color' ) ); $css .= " /* ================== FOOTER ==================*/ #footer{ $footer_bg_color $footer_font_size } #footer .widget, #footer .widget .search-form input[type=\"search\"]{ $footer_widgets_font_size } .foot-items{ $footer_lower_bg_color } .footer-separator .foot-items .foot-content{ $footer_separator_color } .foot-items{ $footer_font_color } .foot-items .foot-text a{ $footer_link_color } .foot-items .foot-text a:hover{ $footer_hover_color }"; } return $css; } function apollo13framework_footer_partial_css($response) { return apollo13framework_prepare_partial_css($response, 'footer_switch', 'apollo13framework_footer_css'); } add_filter( 'customize_render_partials_response', 'apollo13framework_footer_partial_css' ); if(!function_exists('apollo13framework_footer_widgets')) { /** * Prints out HTML for footer widgets in columns */ function apollo13framework_footer_widgets() { global $apollo13framework_a13; //is there any widgets if ( is_active_sidebar( 'footer-widget-area' ) ) { //class for widgets $_class = ''; $columns = (int)$apollo13framework_a13->get_option( 'footer_widgets_columns' ); if ( $columns === 1 ) { $_class = ' one-col'; } elseif ( $columns === 2 ) { $_class = ' two-col'; } elseif ( $columns === 3 ) { $_class = ' three-col'; } elseif ( $columns === 4 ) { $_class = ' four-col'; } elseif ( $columns === 5 ) { $_class = ' five-col'; } //color of sidebar $_class .= ' '.$apollo13framework_a13->get_option( 'footer_widgets_color' ); echo '
'; echo '
'; dynamic_sidebar( 'footer-widget-area' ); echo '
'; } } } if(!function_exists('apollo13framework_footer_items')) { /** * Prints out HTML for footer items */ function apollo13framework_footer_items() { global $apollo13framework_a13; ?>
get_option( 'footer_text' ) ); $privacy = $apollo13framework_a13->get_option( 'footer_privacy_link' ) === 'on'; if(!empty($ft)){ echo '
'; echo nl2br( wp_kses_post( balanceTags( $ft, true ) ) ); if ( $privacy && function_exists( 'the_privacy_policy_link' ) ) { the_privacy_policy_link( '
', '
'); } echo '
'; } ?>
get_option( 'footer_socials' ) === 'on' ){ echo '
'; //apollo13framework_social_icons() produces escaped content echo apollo13framework_social_icons($apollo13framework_a13->get_option( 'footer_socials_color' ), $apollo13framework_a13->get_option( 'footer_socials_color_hover' )); echo '
'; } } if(!function_exists('apollo13framework_footer_for_site_modules')) { /** * Prints out HTML for elements needed to be printed after whole site */ function apollo13framework_footer_for_site_modules() { global $apollo13framework_a13; $to_top_off = $apollo13framework_a13->get_option( 'to_top' ) === 'off'; if( $to_top_off ){ return; } $to_top_icon = $apollo13framework_a13->get_option( 'to_top_icon' ); $to_top_icon = 'fa-'.(strlen($to_top_icon)? $to_top_icon : 'chevron-up'); //top top and overlay for various things ?>
get_option( 'hidden_sidebar_widgets_color' ); $hidden_sb_classes .= ' at-'.$apollo13framework_a13->get_option( 'hidden_sidebar_side' ); ?>