Turn Plain URLs Into Links
Converts web addresses and email addresses typed as plain text in posts into clickable links.
Opens WPIDE on
Code
add_filter( 'the_content', 'make_clickable', 12 );
Notes
Text inside existing links, code and preformatted blocks is left alone.
How to add this snippet
- Install WPIDE on your WordPress site (it is free) and open Code Snippets.
- Use snippet above adds it from the library in one click. Or copy the code into a new snippet with the same code type.
- It is added inactive: review the code and settings, then switch it on.