Chapter Menu

on Tuesday 14 July 2020
comments: 0

 Templating:  template key "panel" in chapter_template.php


- in Menu Manager: the only caption can be set, it always displayed all chapters with template panel

- as a shortcode: - parameter book is available, so you can display only chapters/pages from one book, but again, chapters have to have template "panel" 

It has no logic...  not mention you need to know book ID . And there is hardcoded 24 items limit.


{MENU: path=page/chapter&book=7}

You can display only chapter shortcodes. No page/menus list. 

Next notice: as soon as you use panel template for book, this menu will fail.


Other links

Follow us