ShortCode Menu

Images
Images
Images
Images

DESCRIPTION

This menu adds the possibility to use shortcodes directly in the Menu manager.

No configuration is needed.

Reasons for this:

1. power of e107 menu manager  (visibility, configuration, templating).

2. you can use custom menus, but with the Tinymce plugin there could be parse issues. With the custom menu, you will create a page too, so the easier way is better.

3. you can use theme shortcodes, but you can't have them as menu 

4. there are menus with parameters, but they are missing configuration in Menu manager.

Shortly, this saves theme development time. 

Negative:

for now, you need to click on the configuration button to see menu parameters (I have a feature request for this )

- you need to know how shortcodes look and how to set them.  For this, I am creating a list of available shortcodes on my site

Example:

Chapter menu (page/chapter_menu.php).  You can add it to Menu manager (It's listed there). No parameters. 

You can insert it to theme.php this way:

{MENU: path=page/chapter_menu} to have the same result as in Menu manager.

You can use {MENU: path=page/chapter_menu&book=2} to display just chapters of book 2, but only hardcoded.

OR

you can add the shortcode menu in Menu manager, click on configuration and insert shortcode there. This way each your menu can have a different caption (you can set there too) or can be without caption. 

Third parameter is 'id' for table_render() function.

Author note.  This menu was used mainly for elements shortcodes. The new version of JM Elements has its own menu for any element, but you can still use it this way. 

D35ce09ac805

10 Years

GLORIOUS YEARS

100%

SATISFACTION RATE

20+

e107 THEMES

10+

e107 PLUGINS

Images