'; $html = apply_filters( 'consted_footer_container_before_filter',$html); echo wp_kses( $html, $this->alowed_tags() ); } /** * Footer Container before * * @return $html */ function site_footer_widgets(){ if ( is_active_sidebar( 'footer-1' ) ) { ?>
'; $html .= apply_filters( 'consted_footer_copywrite_text', $text ); if( get_theme_mod('dev_credit') != true ) { /* translators: 1: developer website, 2: WordPress url */ $html .= ''.sprintf( esc_html__( ' %1$s By aThemeArt - Proudly Powered by WordPress .', 'consted' ), ''.esc_html_x( 'Consted theme', 'credit - theme', 'consted' ).'' ).''; } $html .= '
'; echo wp_kses( $html, $this->alowed_tags() ); } /** * diet_shop foter conteinr after * * @return $html */ public function site_footer_container_after (){ $html = ''; $html = apply_filters( 'consted_footer_container_after_filter',$html); echo wp_kses( $html, $this->alowed_tags() ); } private function alowed_tags(){ if( function_exists('consted_alowed_tags') ){ return consted_alowed_tags(); }else{ return array(); } } } $consted_footer_layout_class = new Consted_Footer_Layout();