and like us on FB

This is the first of a few functions that’ll linkify text with PHP. It’s based on WordPress’ make_clickable() function. If you would like to shorten a URL in addition to creating an active link, modify the beliefmedia_create_short() function as required. For truncating purposes, clients will likely want to use our own suite of tools.

Usage is as follows:

Returns the following:

This is the first URL:, and another:

Additional functions that serve a similar purpose are forthcoming.

Shortt URL for this post: