Skip to content

Instantly share code, notes, and snippets.

View dogwonder's full-sized avatar

Rich Holman dogwonder

View GitHub Profile
@dogwonder
dogwonder / 00-intro.md
Created January 5, 2021 17:05 — forked from mdo/00-intro.md
Instructions for how to affix an Ikea Gerton table top to the Ikea Bekant sit-stand desk frame.

Ikea Bekant standing desk with Gerton table top

@dogwonder
dogwonder / readme.md
Created March 18, 2019 15:31 — forked from hitautodestruct/readme.md
Generate a custom structure for Wordpress menus.

This gist is for showing an example of a custom wordpress menu.

If you want to get more from the menu item simply have a look at the $item object. i.e:

// Will return a large object with lots of props like title, url, description, id etc.
var_dump( $item );

This code works on Wordpress 4.1.1 as of 31st of March 2015