Site logo

[Resolved] Remove Category Link, Post-Date Link, It-Self Link

Home Forums Support [Resolved] Remove Category Link, Post-Date Link, It-Self Link

Home Forums Support Remove Category Link, Post-Date Link, It-Self Link

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #135562
    Alexander

    Hi Tom,

    how can i remove that Links in the Code:

    – Category Link
    – Post-Date Link
    – It-Self Link: Zum Inhalt

    Thanks,

    Alex

    #135586
    Tom
    Lead Developer
    Lead Developer

    Only the links, or the text as well?

    Not sure what you mean by It-Self Link?

    Let me know 🙂

    #135609
    Alexander

    Best out completely.

    >>Not sure what you mean by It-Self Link?
    Sorry, in my Post i had forgotten the Code-Tag 🙂

    
    <a class="screen-reader-text skip-link" href="#content" title="Zum Inhalt">Zum Inhalt</a>
    
    #135698
    Tom
    Lead Developer
    Lead Developer

    This should remove the post date: https://gist.github.com/generatepress/a895cc65255ee5c8a567

    This should remove the categories: https://gist.github.com/generatepress/f30ca9accc6de378c397

    To remove that accessibility link (not good for accessibility/seo), you’ll need to copy header.php into your child theme and remove it in the file.

    #135783
    Alexander

    Hey Tom,

    that works, thanks a lot!

    For your Info: If i use your Author-Remove-Filter too, the Post-Date-Remove-Filter must be before Author-Remove-Filter, otherwise it does not work.
    Is that normal?

    Alex

    #135854
    Tom
    Lead Developer
    Lead Developer

    Shouldn’t matter – they’re just functions, they should work independently of each other.

    Either way, I’m glad it’s working 🙂

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