Skip to content

Instantly share code, notes, and snippets.

Anthony Wilhelm awshout

View GitHub Profile
@awshout
awshout / foundation4-section-menu.php
Last active Jul 10, 2016
WordPress Menu & Walker for ZURB's Foundation 4 Sections
View foundation4-section-menu.php
<?php
add_theme_support('menus');
/**
* http://codex.wordpress.org/Function_Reference/register_nav_menus#Examples
*/
register_nav_menus(array(
'main-menu' => 'Main Menu',
));
@awshout
awshout / foundation4-topbar-menu.php
Last active Apr 8, 2018
WordPress Menu & Walker for ZURB's Foundation 4 Top Bar
View foundation4-topbar-menu.php
<?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'
@awshout
awshout / foundation3-navbar-menu.php
Last active Jul 10, 2016
WordPress Menu & Walker for ZURB's Foundation 3 Nav Bar
View foundation3-navbar-menu.php
<?php
add_theme_support('menus');
/*
http://codex.wordpress.org/Function_Reference/register_nav_menus#Examples
*/
register_nav_menus( array(
'main-menu' => 'Main Menu' // registers the menu in the WordPress admin menu editor
) );
You can’t perform that action at this time.