title: WordPress show custom post type posts between normal post loop with pagination
body: <p>I am developing a WordPress website where I want to show posts based on some logic below:</p>
  
  <p>On the front page, I want to show <strong>10 posts</strong> and then pagination <strong>but</strong> in <strong>every 3 posts</strong> I want to show another custom post type posts.</p>
  
  <pre><code>while ( have_posts() ) {
      the_post();
      the_title();
      the_content();
      echo '&lt;hr/&gt;';
  
     // Above will be shown 3 posts, 
     // then my custom post type post ( pro_event, special)
     // After that remaining 7 Posts
  
  }
  pagination();
  </code></pre>
  
  <p>How can I do this?</p>
  
  <p>Shall I call the custom posts type posts code in between the while loop() or is there other way?</p>
  
  <p>Thanks.</p>