Integration of Posts
OK I was looking on the board and what not to get some help on importing posts into my website from my wordpress document and its like really hard for some reason to import the correct file actually.
I have this code in my post.html page but I believe that I am actually missing something that is more important:
<?php // Include WordPress define('WP_USE_THEMES', false); require('/about/wp-load.php'); query_posts('showposts=3'); ?> <?php while (have_posts()): the_post(); ?> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"> <?php the_title(); ?></a></h2> <?php the_excerpt(); ?> <p><a href="<?php the_permalink(); ?>">Read more...</a></p> <?php endwhile; ?>
- The topic ‘Integration of Posts’ is closed to new replies.