Display recent and related posts without duplicating each other
My client asked me to implement lists of recent and related posts below a single post without duplicating each other.
What do we have to do?
- Create 2 instances...
My client asked me to implement lists of recent and related posts below a single post without duplicating each other.
Recently my client's design required displaying posts in sidebar only from one category. To solve this problem I decided to use class WP_Query.The first we have to create instance of...