How to Add Hyperlink in WP Comment Replies

by carolm
7 replies
  • WEB DESIGN
  • |
I know almost nothing about HTML, but I've found out how to add a hyperlink into an article as a line of text using HTML. But I can't work out how to put an affiliate link, or a link to one of my articles when I Reply to someone's Comment.

I tried using the <a href="http://www.w3schools.com/">Visit W3Schools</a> info, and it worked ok in a Post text, but when I use the HTML when replying to a Comment, that doesn't work.

For example: to link to a Post in a Comment Reply I put - oops if I put all the HTML here as I typed it originally, it works, sort of, and doesn't show what I typed, but I used the W3school template above.

<a href=How to Claim Your 1 Cent Hosting Coupon>1cent Coupon Hosting</a>

and also the link to the Category they should check out:

<a href=How To Set Up A Blog>How To Set Up a Blog</a>

but when I do that from the Reply to a Comment area, it puts all of the HTML in the Reply to Comment text as I typed it in, as HTML, and it's not even an active link.

I tried using the 'link' icon from the row above the comment reply screen but could not get that to work either. I tried doing it from Edit and Quick edit options but couldn't get anything to work.

I'm using the free Weaver II theme. Can anyone tell me where I'm going wrong? Please.... I thought I was about to be very clever...and then I wasn't. :confused:
#add #comment #hyperlink #replies
  • Profile picture of the author Robert M Gouge
    I think almost all themes automatically make the hyperlinks when a url is added into the text field of a comment form (example: http://www.yoursite.com/) - I don't believe it adds anchor text by default.

    The html format for anchor text that you are using is correct. It's simply whether or not the platform you're trying to use it on will display it. You may have to search for a plugin to use anchor text in comment fields.
    {{ DiscussionBoard.errors[6701613].message }}
  • Profile picture of the author wordpressmania
    Hi,

    You do not need to hyperlink a comment with affiliate links as....
    1. as most of the theme automatically link a liked text
    2. You can add the affilate link within the site url field

    Hope this helps...
    {{ DiscussionBoard.errors[6701727].message }}
  • Profile picture of the author carolm
    I can't get a live link of any sort into my Replies to people's Comments on my blog. I've tried as Logged in, logged out, from my wp dashboard, from the article's comments when logged in and logged out. Nothing works.


    I looked but I couldn't find a plugin that will do what I want to do. I installed Comment Toolbar plugin which I thought would do it, but no toolbar appeared anywhere on the site.
    {{ DiscussionBoard.errors[6703279].message }}
  • Profile picture of the author Philip Zachary
    I dont know exactly,

    Wordpress themes automatically placed in comment box.

    And then comment box automatically make the hyperlinks.
    {{ DiscussionBoard.errors[6707655].message }}
  • Profile picture of the author carolm
    After more researching, it turns out that no one knows how to do this. According to Josh Lobe of TinyMCE plugins, Wordpress is trying to solve this problem but haven't come up with anything yet.

    Now I can give up trying to work out how to do it, and get back to building traffic.
    {{ DiscussionBoard.errors[6709007].message }}
  • Profile picture of the author Istvan Horvath
    1. Everything you described as a "WP issue" - is not. I mean, in any vanilla WP installation you can add links in the comments.

    2. You have a bunch of comments related plugins installed. Deactivate ALL of them and try it again. It will work.
    Then activate them one by one and you will find which one is giving you difficulties.

    3. If it is tinymce related... then YOU caused the problem: in a basic WP install there is no such editor for comments. (and it is useless, btw)

    4. Here in the Warriorforum you have buttons like "code" to add around your posted code snippets... if you want to show them
    Signature

    {{ DiscussionBoard.errors[6716213].message }}
  • Profile picture of the author rhensiong
    You cannot put anchor text in comment if the Admin is not allowed it.
    {{ DiscussionBoard.errors[6719531].message }}

Trending Topics