# Turn Plain URLs Into Links

> Converts web addresses and email addresses typed as plain text in posts into clickable links.

- Type: PHP
- Runs: Frontend only
- Category: [Content](https://wpide.com/library/category/content/)
- Tags: links, urls, content
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/clickable-urls-in-content/

## Code

```php
add_filter( 'the_content', 'make_clickable', 12 );
```

## Notes

Text inside existing links, code and preformatted blocks is left alone.

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "Turn Plain URLs Into Links" in its snippet library and add it in one click; or create a new PHP snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
