Remove Link From Author Box

Posted in: Newspaper
Post count: 81

Hi,

We want to remove links to the author page in the author box from the gravatar and the name.

URL: https://www.techuntold.com/translate-documents-google-docs/

Thanks.

Post count: 22421

Hello,

If you need to disable the author for seo reasons, please simply use the seo yoast plugin which fixes this with the click of a button.
The alternative is editing the theme code and you will need coding skills.

Thank you!

Post count: 81

Hi,

Actually, I don’t want to disable the author or remove the author box but only remove the hyperlinks from the name and gravatar in the author box.

You can let me know the code and the file to edit and I will do it.

Thanks,
Hemant

Post count: 35449

Hi,

You can check this files -> ../Newspaper/includes/wp_booster/td_module_single_base.php
-> https://www.screencast.com/t/tEkb5ifa1

Thank you!

Post count: 81

I CANNOt find this file in the latest version of Newspaper theme – 9.7.3

The same issue I am facing these two threads:
https://forum.tagdiv.com/topic/page-number-not-coming-in-page-title/
https://forum.tagdiv.com/topic/last-updated-date-not-reflecting-in-archive-pages/

PLEASE reply it is urgent

Post count: 35449

Hi,

Since Newspaper v9.7 the td_wp_booster_functions.php file was moved in tagDiv Composer plugin, the file can be found now in wp-content/plugins/td-composer/legacy/common/wp_booster/td_wp_booster_functions.php

Thank you!

Hope this will help you!
Thanks.

Post count: 3

Hi Calin!
How can i remove the link from the Author box?
The way you described here is not working for me

Post count: 19

I couldn’t find it also.

Post count: 35449

Hi,

If you are referring to the single post author box, for these the files need to be change are in wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_author_box.php and tdb_single_author.php if you are referring to this element -> https://i.imgur.com/nCDtVe4.png the file is wp-content/plugins/td-composer/legacy/Newspaper/includes/shortcodes/td_block_author.php

Hope this will help you!
Thank you!

Post count: 3

Hi Calin,
how can i remove the link to the author profile from the avatar? What do i have to delete in the codes? I tried, but didnt find the code to remove.

Post count: 35449

Hi heizungshelden,

Please notice that these changes in theme files will be overwrite when you’ll update the theme. If you only want to remove the link from the author profile, please provide me a link to it and I will provide a css that will do the work.

Thank you for your understanding!

Post count: 3

Ok great. For example here: https://heizungshelden.com/warum-ist-eine-holzheizung-co2-neutral/

The Photo is linked to the profile.

Post count: 35449

Hi,

As I can see now the link from the author box is link to homepage not to author page how it should be -> https://i.imgur.com/wWTnuL4.png, maybe the author archives are disabled in the Yoast plugin, if they are author links will be redirected to the homepage. Check if that is the case – http://prntscr.com/mbwwuk
How ever if you still want to remove the clickable from the image you ca use this custom css -> https://i.imgur.com/JHWFv4a.png
.author-box-wrap a{
pointer-events: none;
text-decoration: none;
}

The code need to be set in theme panel> custom code> custom css.

Hope this will help you!
Thank you!

Viewing 13 posts - 1 through 13 (of 13 total)
The forum ‘Newspaper’ is closed to new topics and replies.