Question about Intergration
-
So I found this :
// Get the last 3 posts.
<?php
require(‘/the/path/to/your/wp-blog-header.php’);
?><?php query_posts(‘showposts=3’); ?>
<?php while (have_posts()) : the_post(); ?>
” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?>
<?php endwhile;?>Which I want to implement on my homepage, but I was wondering if I could make it more specific. Like how would I make that work so that I could get the last 3 posts of a specific category?
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Question about Intergration’ is closed to new replies.