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>

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...


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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