Skip to content

Activation

Archetyped edited this page May 19, 2016 · 7 revisions

Automatic Activation

SLB automatically activates links in recognized content areas.

The following content areas are supported by default:

  • Posts/Pages (including custom post types)
  • Widgets

Support for additional content areas can be enabled via add-ons:

(Coming Soon)

Manual Activation

Other content areas can be activated using SLB's slb_activate() template tag.

Simply pass the content to slb_activate() and it will process and return the activated content:

$content = 'content with links and stuff to activate';
if ( function_exists('slb_activate') ) {
	$content = slb_activate($content);
}
echo $content;
Clone this wiki locally