Tags



The tags helper is a collection of useful methods:

Tags::clean($data)

Clean function to convert data into an array.

Tags::get($string)

This method converts the $string depending on the condition:

Tags::get('[year]')

Returns the year

Tags::get('[sitetitle]')

Returns the site title constant (SITETITLE)

Tags::get('[siteemail]')

Returns the site email constant (SITEEMAIL)

echo Tags::get('[feedburner username]');

Generates a Feedburner subscriber form

echo Tags::get('[googleplusbox username]');

Generates a Google+ box

echo Tags::get('[twitterfollowbutton username]');

Generates a Twitter follow button for the given username

echo Tags::get('[twittersharebutton username]');

Generates a Twitter share button for the given username

echo Tags::get('[youtube id]');

Generates an embed iframe for youtube, pass the video id only

echo Tags::get('[youtubesub username]');

Generates a youtube subscribe widget

echo Tags::get('[vimeo id]');

Generates an embed iframe for vimeo, pass the video id only