$n_of_content_post,
'cat' => self::remove_last_comma($content_posts_categories),
'paged'=> $paged,
'order'=>'DESC',
);
$wp_query = new WP_Query($args);
if($wp_query->have_posts()) { ?>
have_posts()) {
$wp_query->the_post();
$tumb_id = get_post_thumbnail_id( get_the_ID() );
$thumb_url=wp_get_attachment_image_src($tumb_id,'full');
$has_image = true;
if( $thumb_url ) {
$thumb_url = $thumb_url[0];
}
else {
$thumb_url = self::catch_that_image();
$has_image = $thumb_url['image_catched'];
$thumb_url=$thumb_url['src'];
}
$background_image = $thumb_url; ?>
get_param('date_enable')){ ?>
1){ ?>
max_num_pages){ ?>
max_num_pages > 2 ){ ?>
bottom_advertisment();
wp_reset_query(); ?>
';
if ( $categories_list ) {
echo '