How to show Recent Posts by Category in WordPress

In my Ask-Nik.info blog I wanted to display at the front page all the recent posts but not ordered by date. I wanted to display every of my categories by 3 posts each. I’ve searched a lot of plugins but none did the job for me. So I searched about a day how to do it by myself. I finally manage to write a front page template which does this job for me. If you take a look at the Ask-Nik.info blog you will understand what I mean.

Here is the code :

Leave a Reply