<div id="latest_blog_posts"> <h2 class="module_title no_content_font"><?php echo __('Latest blog posts', TPL_SLUG) ?></h2> <div id="latest_blog_posts_container" class="container border_top"> <?php $counter = 1; global $more; // $wp_query->query(get_option('posts_per_page') . '&paged=' . $paged); // $wp_query->query( ( is_front_page() ? 10 : get_option('posts_per_page') ) . '&paged=' . $paged ); $wp_query->query( 'posts_per_page=4' . '&paged=' . $paged ); // echo '<pre>'.get_option('posts_per_page').'</pre>'; while ($wp_query->have_posts() && $counter <= 4) : $wp_query->the_post();
while ($wp_query->have_posts() && $counter <= 4)
while ($wp_query->have_posts() && $counter <= 8)
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Open file front-page.php in your skyfashion theme folder.
Find code in line change counter to 8 Let me know if it works
With regards
Is there a way to add a spacing between two rows, because it is very close to each other
Please send me a link to your webpage.
With regards