'; $footer_end=''; } echo wp_kses($footer_start,'anews_allowed_html'); if ( is_active_sidebar( 'footer-1' ) || is_active_sidebar( 'footer-2' ) || is_active_sidebar( 'footer-3' ) || is_active_sidebar( 'footer-4' ) ) { ?>
0 ){ $i = 1; foreach($footer_col as $col){ // ROW width class $row_class = 'col-xs-12 col-sm-12 col-md-6 col-lg-6 col-xl-'.$col; if ( is_active_sidebar( 'footer-'.$i.'' ) ) : ?>
'ids') ); //query arguments $args = array( 'post_type' => 'post', 'post_status' => 'publish', 'posts_per_page' => 3, 'orderby' => 'rand', 'tax_query' => array( array( 'taxonomy' => 'category', 'field' => 'id', 'terms' => $anews_related_texonomy ) ), 'post__not_in' => array (get_the_ID()), ); //the query $anews_PrelatedPosts = new WP_Query( $args ); if($anews_PrelatedPosts->have_posts()) : while($anews_PrelatedPosts->have_posts()) : $anews_PrelatedPosts->the_post(); ?>
<?php esc_attr_e('anews Banner','anews') ?>
<?php esc_attr_e('anews Banner','anews') ?>
<?php esc_attr_e('anews Banner','anews') ?>
5, 'post_type' => 'post', )); ?>