Homepage loop twice

Hey there,

After struggling for some time now, I’m here to ask for help from the experts here. I am having this strange problem of the homage looping twice, and i cannot really able to locate the issue, everything looks fine, but I’m sure I’m missing something some where. Please help me fix this issue and if possible can you explain me where I’m going wrong? The site is working fine on dev server where as i have this homepage issue as soon as i made it live. site is: sardfund.org

Nobody will be able to help you unless we see your code. Also, is the issue still present when you disable all plugins?

Yes, post code if you want specific help but you might start by validating the output HTML and using the errors it shows as a clue for where to look for problems in your template code.

I have only three plugins for the WP basic stuffs. And i disabled and everything is same. I posted my reply with code earlier but is not visible now. I’m not sure if i did something wrong. So I’m posting my content-home.php code again here. Since I am a new user and not allowed to put more than 2images, I’m removing the img tag from the social media section.

And thank you for you replies.

 <div id="front-activities">
<h2 style="color: #0093bb; font-family: serif; text-align: center;"> Our Activites </h2>

<div class="col-sm-6">
<?php

		$args_activities_box1 = array(
				    'post_type' => 'activities',
				    'posts_per_page' => 3
				);
		$activities_posts_box1 = new WP_Query( $args_activities_box1 );

		while ( $activities_posts_box1->have_posts() ) : $activities_posts_box1->the_post();
		$image_link_raw = wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); 

?>
<article <?php post_class(); ?>>
	
	<header>
		<h4 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
		<?php get_template_part('templates/entry-meta'); ?>
	</header>
	<?php if ($image_link_raw != false) { ?>
		<div id="activities_thumb">
			<img src="<?php echo $image_link_raw ?>" />
		</div>
	<?php }  ?>
	<div class="entry-summary">
		<?php the_excerpt(); ?>
	</div>
</article>
<div style="clear:both"></div>
<?php 
	endwhile; 
	wp_reset_postdata();
?>
</div>

<div class="col-sm-6">
<?php

		$args_activities_box2 = array(
				    'post_type' => 'activities',
				    'posts_per_page' => 3,
				    'offset' => 3
				);
		$activities_posts_box2 = new WP_Query( $args_activities_box2 );

		while ( $activities_posts_box2->have_posts() ) : $activities_posts_box2->the_post();

		
		$image_link_raw = wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); 
?>
<article <?php post_class(); ?>>
  <header>
	    <h4 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
	    <?php get_template_part('templates/entry-meta'); ?>
  </header>
  <?php if ($image_link_raw != false) { ?>
		<div id="activities_thumb">
			<img src="<?php echo $image_link_raw ?>" />
		</div>
	<?php }  ?>
  <div class="entry-summary">
    <?php the_excerpt(); ?>
  </div>
</article>
<div style="clear:both"></div>
<?php 
	endwhile; 
	wp_reset_postdata();
?>
</div>
</div>

<div class="joinus col-sm-12" id="footer-social">
	<div class="section-title">
	<h1> JOIN US </h1>
	<span>Stay up-to-date on the latest news and updates and help us by spreading the word.</span>
	</div>
	<div class="inner social-ctas cf">
	<div style='clear:both'></div>
		<a class="cta open-drawer" href="#">

			<h3> Get our email newsletter</h3>
		<a class="cta tw" href="#"> 

			<h3>Follow us on Twitter</h3>
		</a>
		<a class="cta fb" href="#">
			
			<h3>Like us on Facebook</h3>
		</a>
		<a class="cta last" href="#">
			<h3>Help spread the word</h3>
		</a>
		<div style='clear:both'></div>
	</div>

</div>
<div style="clear:both"></div>
<div id="footer-banner" class="footer-banner plax">

	<div class="banner-content cf">
		<h1 style="color: #CC9900;"> S</span>ocial & Resource Development Fund </h1>
	</div>
</div>
</div>
</div>

Thank you @cfx and @willthemoor for your replies. I got it figured out with a help of my friend. Instead of creating a separate template for the home, i called the content-home in index.php and made the settings->reading to latest post instead of page home.