WordPress.org

Ready to get started?Download WordPress

Forums

Removing all links from comments (11 posts)

  1. mattd71
    Member
    Posted 1 year ago #

    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 http://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.

  2. Michael
    Member
    Posted 1 year ago #

    You can edit the comment on the Comments screen.

  3. Pioneer Valley Web Design
    Member
    Posted 1 year ago #

    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

  4. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    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>

    http://codex.wordpress.org/Function_Reference/comment_author

  5. mattd71
    Member
    Posted 1 year ago #

    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]

  6. mattd71
    Member
    Posted 1 year ago #

    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 http://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.

  7. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    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/

  8. Pioneer Valley Web Design
    Member
    Posted 1 year ago #

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

  9. mattd71
    Member
    Posted 1 year ago #

    Alchymyth,

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

  10. mattd71
    Member
    Posted 1 year ago #

    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!

  11. praveen68
    Member
    Posted 11 months ago #

    Alchymyth,
    My website http://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!

Topic Closed

This topic has been closed to new replies.

About this Topic