Set navigation menus locations

414

Last updated

Added

Informations

This code define the navigations menus. This code must be in functions.php.

Code

register_nav_menus([

  ‘main-navigation’  => ‘Main navigation’,

  ‘social-networks’  => ‘Social networks’,

  ‘footer-legal’  => ‘Legal links’

]);

Contribute to this page

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *


register_nav_menus([ 'main-navigation' => 'Main navigation', 'social-networks' => 'Social networks', 'footer-legal' => 'Legal links' ]);