Viewing 2 replies - 1 through 2 (of 2 total)
  • Try checking your site’s error logs for error messages. Your hosts should be able to help you in accessing your site’s error logs.

    Thread Starter nervewax

    (@nervewax)

    Bumping this post:
    I have been unsuccessful with this still ~_~

    I put this code at the very start of my <body> section:
    ` <?php
    require(‘blog/wp-blog-header.php’);
    ?>`
    and I included this in the website content area:
    ` <?php
    global $post;
    $args = array( ‘posts_per_page’ => 3 );
    $myposts = get_posts( $args );
    foreach( $myposts as $post ) : setup_postdata($post); ?>
    <a href=”<?php the_permalink() ?>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?></a><br />
    <?php endforeach; ?>
    `
    This is all included in my file: “default.html”
    I also checked php is installed, and it is the correct version too.

    Any help would be much appreciated…

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

The topic ‘Intergrating WordPress with a HTML site: Problems.’ is closed to new replies.