Skip to content

Instantly share code, notes, and snippets.

View rffaguiar's full-sized avatar
:octocat:
.

Renan Aguiar rffaguiar

:octocat:
.
  • shakacode
  • Brazil
View GitHub Profile
<?php
add_theme_support('menus');
/**
* Register Menus
* http://codex.wordpress.org/Function_Reference/register_nav_menus#Examples
*/
register_nav_menus(array(
'top-bar-l' => 'Left Top Bar', // registers the menu in the WordPress admin menu editor
'top-bar-r' => 'Right Top Bar'