[Resolved] Remove author links but keep hatom

Home Forums Support [Resolved] Remove author links but keep hatom

Home Forums Support Remove author links but keep hatom

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #242960
    Enrico

    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

    #242998
    Tom
    Lead Developer
    Lead Developer
    #243009
    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?

    #243077
    Tom
    Lead Developer
    Lead Developer

    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

    #243158
    Enrico

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

    #243296
    Tom
    Lead Developer
    Lead Developer

    You’re welcome ๐Ÿ™‚

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.