Knowledge Base

DEFAULT_MENUAREA shortcode

How this shortcode works
on Wednesday 28 August 2019
comments: 0

JMTheme plugin uses

{DEFAULT_MENUAREA=999}

shortcode. This shortcode displays all menus for default layout defined for defined area:

{MENU=999} or {MENUAREA=999}

 It is used mainly for the footer. So if you see something like this in your

$LAYOUT['_footer_']
{SETSTYLE=footer}
{MENU=43}
{DEFAULT_MENUAREA=43}

It means that :

  • you still can use special menu added via Menu Manager for your layout by using standard way
  • but you don't do anything if your menu area is the same as for default layout.

If you don't want this behaviour, just remove this shortcode from your footer layout. You can easily get it back by using the shortcode menu available with this plugin too.