Tag Archives: reply to comments

WordPress – insert link in comment reply

For some reason, maybe it’s a problem with the latest WordPress update, links in comment replies are NOT working. This was written on March 11, 2013 and the problem may be fixed by the time you read this but if it isn’t, here’s how to repair the problem.

1. When you reply to a comment on your WordPress blog, you are actually writing in HTML, more or less. All of the HTML codes are shown, unlike the normal WordPress window which shows a kind of Word window, completely void of HTML coding. (Yes, you can work in HTML if you want but most people don’t.) In other words, the comment reply window is not WYSIWYG (what you see is what you get).

2. The comment reply window looks like this:

Photo of Comment Window
An example of faulty HTML code.

3. In the example above, we have pasted in the URL of our Facebook page and have asked WordPress to give us the HTML code which would show the link AND open it in a new window. Unfortunately, WordPress has given us faulty code.

4. Here is what the code should be:

Photo of Comment Window 2
Bad code on top, good code on the bottom.

We’ve put both codes in to show you the fine difference between the two.

5. Here is the correct HTML code that you can copy and paste. Make sure you change the URL and the title before you use this:

 

<a href=”https://www.facebook.com/ComputersMadeSimple” target=”_blank”>Computers Made Simple</a>

You can change it this way:

<a href=”insert the URL between the two quotation marks” target=”_blank”>Put the name of the link here. This will be visible in the reply.</a>

 

That’s it! A simple fix for a frustrating problem. Hopefully WordPress will fix this situation in a future update.

 

Thanks for reading!