Site logo

Archived topic

Remove author links but keep hatom

5 replies · Started by Enrico on November 9, 2016

Viewing posts 1–6 of 6

Goodmorning,
I would like to remove only the author link in post masonry and category keeping the hatom author description.

If remove completely the author from blog content setting, I get, from Google console hatom check, the error: Missing Author, for each post in the masonry.

How I can have only a static text in blog manory and category with hatom author description?

Thanks a lot
Enrico

Thanks a lot Tom, it works!

I wonder if it is better to remove also the link in the Date text, I don't use date archive, I have disabled it in Yaost setting. So the link is useless, it redirect to the same post.

Would it be difficult to remove also the link in the date keeping the hatom?

Should be possible.

In that function, find:

<a href="%1$s" title="%2$s" rel="bookmark">%3$s</a>

And replace it with:

%3$s

It works!
Thanks a lot Tom, with your code I have removed a lot of useless links in my pages .

You're welcome :)

This archived topic is closed to new replies.