e107sk.com

CHAPTER_MENUS shortcode

on Tuesday 14 July 2020
comments: 0

Render All visible Menus from a specific chapter. Very often used for portfolio on homepage.

{CHAPTER_MENUS: name=chapter-sef-url}
{CHAPTER_MENUS: name=chapter-sef-url&template=xxxxx}

$parm['name']
$parm['template'] - overrides value ['menu_template']
$parm['class']
$parm['active']
$parm['limit']

Example for 2 cycles:

{CHAPTER_MENUS: name=portfolio&template=portfolio}
{CHAPTER_MENUS: name=portfolio&template=portfolio-modal}

0 Comments

Other links

Follow us