Within the the theme panel I am able to disable the authors name on modules, blocks and post template. It’s works but the link to the authors archives remains in the source code. As I am only having one author I dont want my post linking to the authors page. How can I delete it from source code?
Hi,
You can disable the author box as well – https://www.screencast.com/t/8HHsaht6s
Then the only link to the author page would be the one from the top bar, as you are logged in (if top bar login is enabled)
– https://www.screencast.com/t/Hc2r7l4T
Thanks
Hi Simion, thanks fir the quick reply. I already disabled the authors box, but link to to authors page remains in source code. It’s only hided with “display:none”. I Just made ist visible to explain what I exactly mean. I’d like to completely remove it.
image linking vcard:https://ibb.co/bEHgVL
-
This reply was modified 7 years by
rent-a-guide.
-
This reply was modified 7 years by
rent-a-guide. Reason: added link
Hi,
Just remembered, that will be the case indeed. Disabling the author box won’t remove the author link and surrounding code. That used to be the case before but many users received structured data errors (missing author).
It is required by Google to have this loaded, if you were to remove that there will be errors with structured data
– https://kb.yoast.com/kb/fixing-hcard-author-error/
– https://wpcolt.com/fix-hentry-errors-wordpress/
Since this link will appear only in the page source you could just leave it as it is. or disable the author archives in the Yoast SEO settings (the author link will redirect to the homepage)
– https://www.screencast.com/t/Q7L0tPLmP1
Thanks
Hi Simion,
thansk for replying.
I already disabled authors archives and redirected to home page. It is still not the perfect case for internal link structure.
You’re right – authors name should be in the code in order to have stuctured data working fine. But as long as I know, you dont need to link to a authors page. That’s the only think I`d like to remove?
Thanks
Hi,
If I understand correct you want to remove the link to authors https://www.screencast.com/t/oUI1MJm0G, if is so you need to go in
\wp-content\themes\Newspaper\includes\wp_booster\td_module_single_base.php line 877
comment like in screenshot
https://www.screencast.com/t/p8N1UEuk0
https://www.screencast.com/t/auhV5GBqb8X
See results: https://www.screencast.com/t/kJ1MAWHKrek
Thank you .
In this latest version I have not been able to remove the link from the author box (http://prntscr.com/n0k5q7).
I would like to know if they were so kind to leave the code that should be replaced to avoid complications.
Thank you.
I do not understand your previous example, so many arrows and I do not see clearly the modifications.
Hi,
There are two screenshots one before -> https://www.screencast.com/t/p8N1UEuk0 comment the code lines and on after https://www.screencast.com/t/auhV5GBqb8X
Thank you!