WP Help

Out of context: Reply #10

  • Started
  • Last post
  • 13 Responses
  • trooperbill0

    using this code:

    <p><?php /* Short and sweet */ define('WP_USE_THEMES', false); ?>
    <?php require('./blog/wp-blog-header.php'); ?>
    <?php query_posts('showposts=5'); ?>
    <?php while (have_posts()) : the_post(); ?>
    <a href="<?php the_permalink() ?>"><?php the_title(); ?></a><br />
    <?php endwhile;?></p>

    i get the error:

    Parse error: syntax error, unexpected '.', expecting '(' in /home/sites/chesterfield-sofa.co... on line 64

View thread