![]() |
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
| :root { | |
| --wp--preset--aspect-ratio--square: 1; | |
| --wp--preset--aspect-ratio--4-3: 4/3; | |
| --wp--preset--aspect-ratio--3-4: 3/4; | |
| --wp--preset--aspect-ratio--3-2: 3/2; | |
| --wp--preset--aspect-ratio--2-3: 2/3; | |
| --wp--preset--aspect-ratio--16-9: 16/9; | |
| --wp--preset--aspect-ratio--9-16: 9/16; | |
| --wp--preset--color--black: #000000; | |
| --wp--preset--color--cyan-bluish-gray: #abb8c3; |
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
| 1.1.1. Address individual and collective risk | |
| 1.1.2. Collect data with a defined purposes | |
| 1.1.3. Collect personal or sensitive data only when necessary and with informed consent | |
| 1.1.4. Use secure data collection and storage mechanisms | |
| 1.1.5. Use de identification and anonymisation | |
| 1.1.6. Define inappropriate uses of health data | |
| 1.1.7. Institute safeguards against discrimination, stigma, harassment and bias | |
| 1.1.8. Provide guidance specific to marginalised groups and populations | |
| 1.2.1. Align with best practices for data protection and privacy | |
| 1.2.2. Ensure consent is informed and understood in all its complexities |
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
