Multiple Loop Problem In Single.php
-
Hello,
I’m trying to show recent articles in my single.php by including a recent-post.php fileThe code in recent-post.php is as follows:
[code moderated - please use the pastebin for any code over ten lines long]
The problem i'm facing that when i open first 3 recent articles, It shows me first 3 recent article titles too. I dont want to duplicate the post and the title.
Please help. Tried a lot with multiple loop section but this code is there in another file not in single.php . I tried making post id as global too.
Thanks in advance.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Multiple Loop Problem In Single.php’ is closed to new replies.