Customizing to existing website question
-
I have figured out how to add this to my existing website as seen here:
http://www.beckin.com/projects/articles2.phpI used this code:
<?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 "<br />"; ?> <?php the_title(); ?> <?php the_excerpt(); ?> <?php endforeach; ?>
I like how it shows a portion of the article and displays a continue reading link. However, when you click on that it opens up in inside of wordpress instead of my website. What can I do to make it open up in my website?
- The topic ‘Customizing to existing website question’ is closed to new replies.