In my gallery site i want to show other pictures under the current picture (in single post). I seen more codes but it i asks to specify the category, but i dont want want specify the category manually in the code I want the code itself to get the category ID or name.It would be much easier for me if i get full posts instead of post title so that I can display it as in home and category
The question has already been asked and the answer has been posted too,
Add this code inside your single.php after a loop wherever you want to show related post,
It will display related post from the same category with the post excerpt and title , however if want this code to display just the title of related post then remove this line,
protected by Community♦ Feb 28 '13 at 17:22
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?