Friends, I wanted to change in recent post to show only particular category_id posts. Where and what to change in which file
Hi there? First of all let me know which WordPress theme you are using? Then I can help you. Actually it can do by using the below code <ul> <?php global $post; $myposts = get_posts('numberposts=5&offset=1&category=3'); foreach($myposts as $post) : setup_postdata($post); ?> <li><?php the_title(); ?> </li> <?php endforeach; ?> </ul> here 3 is the category ID that you need to display... Hope this will help you... Thanks Shino
Or else here is another simple method , you can use 'advanced-recent-posts-widget' from wordpress.. it is more simple.. Thanks Shino