0

All right, I'm getting really pissed by WordPress. It just doesn't do what it's supposed to do and nobody seems to know why.

Here's the situation: I have two different ways to load posts. One is in index.php and another one is in loop.php. The first one loads the first 4 posts, the latter loads more posts when scrolling down or clicking on the "load more" button. Both are inside the loop.

The code is THE SAME, but index.php doesn't show anything when I call the_author, when a user is not logged in. When I'm logged in, I see the author name all the time and when logged out, I only see the name on newly loaded posts.

Any ideas ? The website is test.nowillnoskill.net

4

0 回答 0