title: wordpress looping through posts in custom php page
body: <p>I trying to loop through posts in a custom php page but no matter what I do, no posts are found
  here is the code I wrote in my-custom-page.php</p>
  
  <pre><code>&lt;?php 
  require_once("/wp-load.php");
  get_header();?&gt;
  &lt;div id="blog"&gt;
  &lt;?php if(have_posts()) : ?&gt;
   &lt;?php echo"anything"; ?&gt;
  &lt;?php endif; ?&gt;
  &lt;/div&gt;
  &lt;?php get_footer();?&gt;
  </code></pre>