Sorry, I had another post previous which had more details and this is a sort of simplified repost. Anyway, I will add some more info here.
The theme I’m using is Seller, I’m trying to edit the home.php file. The full code is the following:
<?php get_header(); ?>
<div id="primary" class="content-area col-md-12">
<div id="home-title">
<span><?php _e('Recent Posts','seller'); ?></span>
</div>
<main id="main" class="site-main" role="main">
<?php $count = 0; ?>
<?php if ( have_posts() ) : ?>
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php
/* Include the Post-Format-specific template for the content.
* If you want to override this in a child theme, then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
if($count == 0)
echo "<div class='row'>" ;
elseif($count%4 == 0)
echo "</div><!--.row--><div class='row'>";
if (isset($option_setting['logo'])) :
get_template_part( 'content', 'grid3' );
else :
get_template_part( 'defaults/content', 'grid3-d' );
endif;
$count++;
?>
<?php endwhile; ?>
<?php echo "</div><!--.row-->"; ?>
<?php seller_pagination(); ?>
<?php else : ?>
<?php get_template_part( 'content', 'none' ); ?>
<?php endif; ?>
</main><!-- #main -->
</div><!-- #primary -->
<?php get_footer(); ?>
What I’m trying to do here, is to instead of showing the “recent posts”, I want to make a static section where I will pick certain pages and display them. So I probably don’t need to use a loop, but I’m not sure where to begin neither. =/