Title: Ludomancer's Replies | WordPress.org

---

# Ludomancer

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to list my latest posts on a seperate HTML site?](https://wordpress.org/support/topic/how-to-list-my-latest-posts-on-a-seperate-html-site/)
 *  Thread Starter [Ludomancer](https://wordpress.org/support/users/ludomancer/)
 * (@ludomancer)
 * [13 years ago](https://wordpress.org/support/topic/how-to-list-my-latest-posts-on-a-seperate-html-site/#post-3695520)
 * Oookay. I’ve made progress, I think, but now I’ve hit a wall.
 * Here’s the code I came up with:
 *     ```
       <?php
       /**
        * WoredPress Latest blog entries
        * @package WordPress
        */
   
       require( 'http://mydomain.com/web/blog/wp-load.php' ); // This is where my blog is.
   
       // Load the recent top 3 posts from the category gladiators-news
       query_posts( 'category_name=gladiators-news&showposts=3' );
       ?>
   
       <div id="blogPosts">
           <ul id="blogList">
               <?php if (have_posts()) : ?>
                   <?php while (have_posts()) : the_post(); ?>
                       <li>
                       <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">
                       <?php the_title(); ?></a>
                       </li>
                   <?php endwhile; ?>
               <?php endif; ?>
           </ul>
       </div>
       ```
   
 * And here’s the HTML I’m using:
 *     ```
       <div id="blogPostsWrapper">Loading... </div>
   
       <script  type="text/javascript">
       	$.get('/wp-latest-blogs.php', function(data) {
       	  $('#blogPostsWrapper').html(data);
       	});
       </script>
       ```
   
 * When I tried out the test page, I got an error message in the designated area:
 * > Warning: require() [function.require]: URL file-access is disabled in the server
   > configuration in /var/www/clients/client30/web35/web/wp-latest-blogs.php on
   > line 7
   > Warning: require([http://www.ludocracy.ca/web/blog/wp-load.php](http://www.ludocracy.ca/web/blog/wp-load.php))[
   > function.require]: failed to open stream: no suitable wrapper could be found
   > in /var/www/clients/client30/web35/web/wp-latest-blogs.php on line 7
   > Fatal error: require() [function.require]: Failed opening required ‘[http://www.ludocracy.ca/web/blog/wp-load.php&#8217](http://www.ludocracy.ca/web/blog/wp-load.php&#8217);(
   > include_path=’.:/usr/share/php:/usr/share/pear’) in /var/www/clients/client30/
   > web35/web/wp-latest-blogs.php on line 7
 * Can anyone help me over the finish line?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to list my latest posts on a seperate HTML site?](https://wordpress.org/support/topic/how-to-list-my-latest-posts-on-a-seperate-html-site/)
 *  Thread Starter [Ludomancer](https://wordpress.org/support/users/ludomancer/)
 * (@ludomancer)
 * [13 years ago](https://wordpress.org/support/topic/how-to-list-my-latest-posts-on-a-seperate-html-site/#post-3695455)
 * Thanks! I’ll try this out and post here about my success or failure.

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