'page',
'posts_per_page' => 1,
'post__in' => (array)$blog_description,
);
$blog_variable = get_posts($blog_posts_args);
echo '
';
foreach ($blog_variable as $key => $blog_value) {
$content = wp_kses_post($blog_value->post_content);
$content = preg_replace('/
]+./', '', $content);
echo '
' . wp_kses_post(wp_trim_words($blog_value->post_title, 16)) . '
';
}
echo '
';
while ($query->have_posts()) : $query->the_post();
global $post;
$post_format = get_post_format($post->ID);
$blog_image = wp_get_attachment_image(get_post_thumbnail_id($post->ID), 'full');;
$post_formats = get_post_format($post->ID);
$archive_year = get_the_time('Y');
$archive_month = get_the_time('m');
if ($loop <= 3):
?>
';
}
pasal_ecommerce_blog_post_format($post_format, $post->ID);
?>
';
echo '
';
if ($comment_count >= 0 && comments_open()) {
echo '';
}
echo '
';
}
?>