• I’m finding that those who comment on my blog have a link on their name. Does anyone know how to remove those links site wide? I tried to use a plugin called “Remove Links in Comments” but I guess the plugin is only for links that are in the actual response.

    Here is a link to one of my blog pages https://www.eseaweednutrition.com/seaweed-nutrition-lose-weight. If you scroll down to the end of the article and look at the “Response” area, you can click on “Suzi Levoci”, these are the links I want to remove.

    I appreciate any help guys. Thanks.

Viewing 10 replies - 1 through 10 (of 10 total)
  • You can edit the comment on the Comments screen.

    To prevent going forward:

    Admin Dashboard>Settings>Discussion>E-mail me whenever> Check ‘A comment is held for moderation’>Save.

    Admin Dashboard>Settings>Discussion>Comment Moderation>Hold a comment in the queue if it contains>set to (1)ONE>Save.

    This will make any comment that includes any link, whether to their site or a link in the comment as SPAM. Moderate those.

    Also add this to the comment Blacklist:

    http
    www
    url
    ftp
    sex
    +your terms

    in the theme’s folder, locate:

    /include/settings-comments.php

    use ftp to edit the file;
    find:

    <cite class="fn"><?php comment_author_link() ?> <?php $test = get_comment_author_url(); ?></cite> <span class="says">says:</span></div>

    change to:

    <cite class="fn"><?php comment_author() ?> <?php $test = get_comment_author_url(); ?></cite> <span class="says">says:</span></div>

    https://codex.www.ads-software.com/Function_Reference/comment_author

    Thread Starter mattd71

    (@mattd71)

    Alchymyth,

    Thanks for responding.

    I’m using the Delicate theme. I looked for the “cite class=”fn”…” line to change it but I can’t find it in the comments.php. Here is the actual code from the comment.php file. I’m using the Delicate Theme:

    [code moderated - use the pastebin for any code over the forum limit of 10 lines]

    Thread Starter mattd71

    (@mattd71)

    Swanson,

    Thank you, I had those settings set in my theme already.

    The problem isn’t the posts themselves, because I have my blog set up already to moderate all posts. The problem is the link that is associated with the name of the people that post.

    So, if you go to this page of my blog https://www.eseaweednutrition.com/seaweed-nutrition-lose-weight and scroll to the “Reply” area, then click on the name of the person who posted, which is “Suzi Levoci”, you will be taken to her page. So, I want to disable all links like that.

    I suggested:

    in the theme’s folder, locate:

    /include/settings-comments.php

    use ftp to edit the file;

    not comments.php of the theme;

    the file is settings-comments.php in the subfolder /include/

    When one moderates a comment, they have the option to edit it and remove the included website link.

    Thread Starter mattd71

    (@mattd71)

    Alchymyth,

    OK I’ll take a look. Not familiar with using FTP to access, but will give it a shot. Thanks!

    Thread Starter mattd71

    (@mattd71)

    SwansonPhotos,

    Actually I just saw that a moment ago. At least that is an option to me if I can’t figure out how to do as Alchymyth suggested. Thanks for the help!

    Alchymyth,
    My website https://www.hotelsresortsinkerala.com is also showing links. I don’t have a settings-comments.php in the subfolder /include/. Is there any other file that need to be edited. Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Removing all links from comments’ is closed to new replies.