Skip to content
Sérgio Vilar edited this page May 5, 2014 · 2 revisions

This class provides some helpers to Wordpress templating.

$h->img()

Returns the images path

$h->css()

Returns the stylesheets path

$h->js

Return the scripts path

$h->theme()

Return the theme path

$h->title()

Outputs the actual page title, including the site name

$h->name()

Returns the site name

$h->domain()

Returns the actual domain of the site

$h->url()

Returns the site url

$h->menu($menu)

Outpus the specified Wordpress menu