This is the method to get all the post of Respective Category in wordpress.
NOTE : ( cat="1" is the ID of that category in which post exist It may be change .)
<?php
query_posts('cat=1');
while (have_posts()) : the_post();
the_content();
endwhile;
?>
No comments:
Post a Comment