Template API

PeterUpfold edited this page Jul 30, 2012 · 9 revisions

This page details all of the functions and variables that are available to you in your template PHP file.

As a general rule of thumb, the $s->get_the_* functions will return the data in question (e.g. $s->get_the_title()), while the $s->the_* function will print the data to output.

$s

$s is a special variable which allows you to access any of these Total Slider template functions from inside your template PHP file.

For this reason, you must not name a variable inside your template $s.

Functions

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.