WordPress.org

Ready to get started?Download WordPress

Forums

Showing posts of same category to which the post in single.php belongs (1 post)

  1. hrsht2188
    Member
    Posted 2 years ago #

    I am making video blogging website and in it on single.php page i want to show latest posts of the same category to which the current post on the page belongs. Well i am able to show video thumbnails at the bottom of the thumbpage but i have no idea how to assign the instant post category to them. I am using the following wp_query for the same. Kindly tell how to assign the category automatically so that the latest posts of the same category are displayed to which the instant belongs...

    [code moderated - please use the pastebin]

Topic Closed

This topic has been closed to new replies.

About this Topic