-
Notifications
You must be signed in to change notification settings - Fork 33
Activation
Archetyped edited this page May 19, 2016
·
7 revisions
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)
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;