Support » Plugins and Hacks » User Submitted Posts » [Resolved] Can't add anchor (href) to external site
3 years, 5 months ago
Does anyone know how to send an external link via user submitted posts? When I enter a href in the textarea, it just becomes plain text and not an anchor with a link.
How can I make this work?
3 years, 4 months ago
Hello, I just tested this and was able to include both of the following via the textarea:
<a href="http://example.com/">inside anchor</a>
When viewing the post, the link is displayed as a link and the URL is auto-converted to a link via WordPress.
If something else is happening in your case it could be that something else (eg, another plugin) is interfering..
Hmm, the first one works for me, but your second link stays a blank plain text. Damn it, I have to check all of the plugins then. Thanks for the response.
1BJK903, nope – you are correct.. I just double checked and only the first one is displayed as a link.. the URL is not auto-formatted.. I will try to fix for next update 🙂
Ah, thanks man! When will be the next update? In month, weeks?
Oh, great man. Thanks!
Hey it looks like WordPress doesn’t auto-format URLs in post content.. I’ve been trying but no go for default WP install. Let me know if you discover otherwise and I’ll take another look. Sorry for the confusion 😛
Hmm, too bad. That’s very weird though, because it is working on comments… Damn this shit.
Anyway, thanks mate!
Yes, comments should auto-format URLs by default. You may want to check for a plugin though that can do it.. makes life easier 🙂
Yes, that is the case indeed, but too bad you can’t do it for the posts. That is essential to me. Anyhow, I will see what I can do. Thanks!