Skip to content

Instantly share code, notes, and snippets.

Binyamin Laukstein laukstein

Block or report user

Report or block laukstein

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:5089313
$menu_name = 'main_nav';
$locations = get_nav_menu_locations();
$menu = wp_get_nav_menu_object( $locations[ $menu_name ] );
$menuitems = wp_get_nav_menu_items( $menu->term_id, array( 'order' => 'DESC' ) );
<ul class="main-nav">
laukstein / LICENSE.txt
Created Nov 29, 2011 — forked from 140bytes/LICENSE.txt
Ajax SEO snippet in 140 bytes
View LICENSE.txt
View gist:715944
* The history class is in charge of the browser
* history and URL's.
TT.history = {};
/** */
TT.history.TABLE_OF_CONTENTS = 'table-of-things';
TT.history.HOME = 'home';
You can’t perform that action at this time.