Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #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,
    Sophie

    #994581

    Hey Sophie,

    Please provide for us a link of your web site.

    Best regards,
    Basilis

    #994692

    Hey Basilis,

    yes sure, please kindly find the link in private content box.

    Thank you and have a great day!

    Best regards,
    Sophie

    #994853

    Hi Sophie,

    Best regards,
    Victoria

    #995629

    Hi 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,
    Sophie

    #995946

    Hi,

    Best regards,
    Victoria

    #999037

    Hi Victoria,

    awesome, that is working fine :-) . Thank you so much. You can close this topic now.

    Kind regards,
    Sophie

    #999073

    Hi Sophie,

    Glad we could help :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #999404

    Thank you :-) . Please close this topic.

    Thanks and kind regards,
    Sophie

    #1293156

    hey Victoria, it looks like you solved the OP issue but all I see is the following:

    Hi Sophie,
    Best regards,
    Victoria

    Did you post a screenshot? If so it is no longer visible here. Can you type out the solution?

    Thanks.

    #1293355

    Hi 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,
    Nikko

    #1293369

    Thanks Nikko!

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Magazine element – remove author link from source code’ is closed to new replies.