Support » Fixing WordPress » Blog on predesigned site

  • I have created a small site for friends of mine who are adopting a child in China. All I need to do is blog what they send me when they have updates over the next two week period. Is there a way to set up Word Press to publish to one page that already exists?

Viewing 2 replies - 1 through 2 (of 2 total)
  • This sounds pretty easy, but I’m not sure what you mean by ” publish to one page that already exists”

    Could you explain a little more, please?

    I assume they want to have the blog spit out into the body of a pre-existing webpage as if it were a static page.

    Here is how I did it on mine…

    — [Insert this into the < head > < /head > of your webpage]–
    /* Don’t remove this line. */

    — [Insert this into the < body > < /body > of your webpage]–

    <?php while ( have_posts() ) : the_post(); ?>
    <h3><?php the_date(); ?> – <?php the_title(); ?></h3>
    <span><?php the_content(); ?>
    < a>” title=”Me”><?php the_author() ?>< /a> @ <?php the_time() ?>
    <?php endwhile; ?>

    — The html is pertinent to my sight and the formatting is how I needed it so just make some minor changes to suit your needs/format. Also in the header bit your path to wordpress might be different… mine is “wordpress” right under the root HTML directory.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Blog on predesigned site’ is closed to new replies.