Hello 🙂
What did you try in the CSS?
Does this work:
.post-author {
display: none;
}
I have the same problem. I am the author yet WordPress displays “Published by %S” and not my name. How do I get this to work? Anna’s solution would probably just hide the author. I actually want the author name or nickname to show up.
Thought – Could the theme be doing this? Using Sports Club Lite.
EDIT – Yeah that’s the problem. The theme is doing something wonky.
-
This reply was modified 6 years, 4 months ago by
geldner.
-
This reply was modified 6 years, 4 months ago by
geldner.
Yes I think it is something in your theme to. In my theme it works just fine. I use a standard theme from WordPress. I looked up the code for the author and this is it in my theme:
<a class="url fn n" href="%3$s">%4$s</a>
I don’t know your theme, but maybe it is missing the 4$ in the middle?
In the template-tags.php I can change the code. I think it is a different file in you theme. If you have experience with FTP maybe you can try to search for:
<div class="post-author"><i class="fas fa-user"></i>
And try to change the code there. That is what I would try 😀
Good luck!