Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Does wordpress has an automatic link parse function? I want the HTML to be generated automatically when writing

www.url.com -> <a href="www.url.com">www.url.com</a>
share|improve this question

1 Answer 1

There is make_clickable which is applied as a filter on comment_text but not on post/page content. You could add it as a filter with...

add_filter('the_content','make_clickable');

Untested. I have not idea how well that will behave. There may or may not be conflicts with already defined URLs, or other markup. I haven't investigated that. Be aware.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.