Archived topic
Remove Category Link, Post-Date Link, It-Self Link
5 replies · Started by Alexander on September 9, 2015
Hi Tom,
how can i remove that Links in the Code:
- Category Link
- Post-Date Link
- It-Self Link: Zum Inhalt
Thanks,
Alex
Only the links, or the text as well?
Not sure what you mean by It-Self Link?
Let me know :)
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>
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.
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
Shouldn't matter - they're just functions, they should work independently of each other.
Either way, I'm glad it's working :)
