-
AuthorPosts
-
August 7, 2018 at 10:16 am #994291
Hello,
how can I remove permanently the author link, title and author name from source code of the Magazine elements (please see sreenshot in private content box). I do not want bots to crawl and find my author name.
Thank you for your kind help in advance.
Best regards,
SophieAugust 7, 2018 at 9:43 pm #994581Hey Sophie,
Please provide for us a link of your web site.
Best regards,
BasilisAugust 8, 2018 at 6:53 am #994692Hey Basilis,
yes sure, please kindly find the link in private content box.
Thank you and have a great day!
Best regards,
SophieAugust 8, 2018 at 11:14 am #994853Hi Sophie,
Best regards,
VictoriaAugust 9, 2018 at 5:47 pm #995629Hi Victoria,
thank you for the screenshot. Can you tell what exactly to comment out? I need to remove the author link, title and author name. When I comment out the author in Line 641, there is a syntax error.
Kind regards,
SophieAugust 10, 2018 at 1:34 pm #995946Hi,
Best regards,
VictoriaAugust 19, 2018 at 7:23 pm #999037Hi Victoria,
awesome, that is working fine :-) . Thank you so much. You can close this topic now.
Kind regards,
SophieAugust 19, 2018 at 8:38 pm #999073Hi Sophie,
Glad we could help :)
If you need further assistance please let us know.
Best regards,
VictoriaAugust 20, 2018 at 3:08 pm #999404Thank you :-) . Please close this topic.
Thanks and kind regards,
SophieApril 8, 2021 at 3:14 am #1293156hey Victoria, it looks like you solved the OP issue but all I see is the following:
Hi Sophie,
Best regards,
VictoriaDid you post a screenshot? If so it is no longer visible here. Can you type out the solution?
Thanks.
April 8, 2021 at 5:35 pm #1293355Hi WebDevDept,
The screenshot has already expired.
The file that is tweaked is enfold > config-templatebuilder > avia-shortcodes > magazine > magazine.php (line 1166 in Enfold 4.8.1):$author_link = '<a href="' . $author_link . '" title="' . __( 'by', 'avia_framework' ) . ' ' . $author_name . '" rel="author">' . $author_name . '</a>';just replace it with this code to remove the link:
$author_link = $author_name;But I would suggest not doing this directly on the enfold theme (parent) as the tweaks get removed during a theme update.
Please follow the instruction in https://kriesi.at/documentation/enfold/intro-to-layout-builder/#add-elements-to-alb and add it on the child theme.Best regards,
NikkoApril 8, 2021 at 6:16 pm #1293369Thanks Nikko!
-
AuthorPosts
- The topic ‘Magazine element – remove author link from source code’ is closed to new replies.
