Exponent v2.7.2

function.smart_heading.php

Table of Contents

smarty_function_smart_heading()  : mixed
Smarty {smart_heading} function plugin
get_level()  : mixed

Functions

smarty_function_smart_heading()

Smarty {smart_heading} function plugin

smarty_function_smart_heading( $params, Smarty &$smarty) : mixed

Type: function
Name: smart_heading
Purpose: Apply heading level smartly, e.g. only one H1 per page and sidebar content is lower heading level

Parameters
$params :
$smarty : Smarty
Tags
subpackage

Function

Return values
mixed

get_level()

get_level(mixed $requested_level) : mixed
Parameters
$requested_level : mixed
Return values
mixed

Search results