WordPress Integration iunto HTML site.

  • Unknown's avatar

    Hello,
    Under your support page you mention that you can integrate a word-press blog into your site. I wish to have a feed of my word-press blogs on my home page, and copy and pasted the following code into my source code as instructed. However, I do not know how to find my “the/path/to/your/wp-blog-header.php”. Where can I find this information at? my word-press is thenameisspencer.wordpress.com. Thank you.

    <?php
    require(‘/the/path/to/your/wp-blog-header.php’);
    ?>

    <?php
    $posts = get_posts(‘numberposts=10&order=ASC&orderby=post_title’);
    foreach ($posts as $post) : start_wp(); ?>
    <?php the_date(); echo “
    “; ?>
    <?php the_title(); ?>
    <?php the_excerpt(); ?>
    <?php
    endforeach;
    ?>
    Blog url: http://thenameisspencer.wordpress.com/

  • That only works with self-installed WordPress.org blogs.

    There’s no direct way to do this with WordPress.com blogs, but if you can add a feed parser to your other site, you can just include your blog’s feed.

  • The topic ‘WordPress Integration iunto HTML site.’ is closed to new replies.