Content moved to: https://github.com/tonyxu-io/pkce-generator/blob/master/index.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @import url("https://necolas.github.io/normalize.css/8.0.0/normalize.css"); | |
| @import url("https://fonts.googleapis.com/css?family=Slabo+27px"); | |
| html { | |
| box-sizing: border-box; | |
| } | |
| body { | |
| background: #e96443; /* fallback for old browsers */ | |
| background: -webkit-linear-gradient(to right, #904e95, #e96443); /* Chrome 10-25, Safari 5.1-6 */ | |
| background: linear-gradient(to right, #904e95, #e96443); |
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