Menus

Posted on November 25, 2016

The Menus config module is responsible to easily register new menu locations.

Default config path

{{ Project Dir }}/app/config/menus.json
You can rewrite this path by lf_config_menus_path filter.

Keys

$slug (string) (Required) menu location slug.

Item arguments

$description (string) (Required) description.

Based on:

<?php register_nav_menus( $locations ); ?>

1 Comments

  • Jock
    Jock
    January 3, 2017 at 11:51 am
    A wonderful job. Super helpful infmroation.
    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *