Table of Contents

Template functions

Template functions are used within the back-end of a GetSimple installation. The source code is in admin/inc/template_functions.php.

This page is in development

Get Template

Description

get_template($name[, $title])

Executes a template file and returns its output.

Parameters

Returns

Filename ID

Description

filename_id()

Echoes a css id string with the basename of the current file.

Example: if the current file is ../mytheme/myfile.php, then the string echoed is
id=\“myfile\”

Parameters

Returns

Get Filename ID

Description

get_filename_id()

Returns the filename of the current file, minus .php

Parameters

Returns

Description



many more functions are yet to be documented