Title: jLuneyWP's Replies | WordPress.org

---

# jLuneyWP

  [  ](https://wordpress.org/support/users/jluneywp/)

 *   [Profile](https://wordpress.org/support/users/jluneywp/)
 *   [Topics Started](https://wordpress.org/support/users/jluneywp/topics/)
 *   [Replies Created](https://wordpress.org/support/users/jluneywp/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/jluneywp/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/jluneywp/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/jluneywp/engagements/)
 *   [Favorites](https://wordpress.org/support/users/jluneywp/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
   
   In reply to: [displaying wordpress posts in a .html site](https://wordpress.org/support/topic/displaying-wordpress-posts-in-a-html-site/)
 *  Thread Starter [jLuneyWP](https://wordpress.org/support/users/jluneywp/)
 * (@jluneywp)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/displaying-wordpress-posts-in-a-html-site/#post-1968896)
 * Oh! Ok it decided to work now. Thanks for your help, I think that little change
   fixed it!
 *   Forum: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
   
   In reply to: [displaying wordpress posts in a .html site](https://wordpress.org/support/topic/displaying-wordpress-posts-in-a-html-site/)
 *  Thread Starter [jLuneyWP](https://wordpress.org/support/users/jluneywp/)
 * (@jluneywp)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/displaying-wordpress-posts-in-a-html-site/#post-1968876)
 * Hmm well that didn’t work….
    Now instead of displaying an error message it just
   displays all of the code for that page. I saved the ‘news.php’ file in the root
   of the site, while all of the wordpress set up files are saved in a ‘news’ file.
   Could this be a problem? Also, I never defined a wp-header.php- I was under the
   impression that this was just one of the standard wordpress files the page refers
   back to to load the blog, is that correct? Also- I didn’t change the second part
   of the code-
 *     ```
       <!--Get the last 10 posts. -->
         <?php query_posts('showposts=10'); ?>
         <?php while (have_posts()) : the_post(); ?>
         <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">
         <?php the_title(); ?>
         </a><br />
         <?php endwhile;?>
       ```
   
 * Is that part correct?
    I’ve got lots of questions- thanks for any advice y’all
   may have…

Viewing 2 replies - 1 through 2 (of 2 total)