$recent = new WP_Query(“cat=1&showposts=10″); while($recent->have_posts()) : $recent->the_post();
the_content();
endwhile;
just sharing a script to show recent posts from a certain category. You may use this code if you want to put a recent post content in sidebar or in footer.
Daily Biscuit
Webiscuits: Web Development & Search Engine Optimization
We Build, Promote and Improve your web presence
Webiscuits is a web design and development firm, founded with the efforts of talented, skilled, and experienced individuals who are always up to the challenge and thrill.
We are fun-loving people and our website looks like a candy shop, but behind the fruitcake looks, we are geared-up work machines for the internet business industry. No average joe jobs, no cheapskate headers, no ragamuffin banners, no shady attachments — just real deal of a job.
Come on in, and take a look around.
Webiscuits' Latest
Wordpress Show Recent Post from a Specific Category
April 29th, 2010















