I have added this code to the author template (author.php) of my website to show the two latests posts from two different categories at the top of the page.
As you can see, they are showing up and all but now comes the problem; If you scroll a little down, you will notice that rest of the posts are gone and not showing at all — only the latest post I have added to the “featured-content” area is showing up.
Also, as you can see in the url, I am trying to go to the author archives of a writer named Mokhtar, but instead another writer’s author archives is showing up. (The one the post on the “featured content” area belongs to.)
Any help is welcome. Thank you.
The topic ‘Only one post is appearing’ is closed to new replies.