Created
November 24, 2014 14:10
-
-
Save davechu/64ab01cb45f4fb000371 to your computer and use it in GitHub Desktop.
For Dipak. These are hardcoded, but this example shows that you can replace them. See more attributes to alter in \genesis\lib\functions\markup.php
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
/** I'm also wondering if plain "//" may also work, the idea to make the URL security-agnostic, so to speak. **/ | |
add_filter( 'genesis_attr_body', 'dc_dipak_body_attr' ); | |
function dc_dipak_body_attr( $attributes ) { | |
$attributes['itemtype'] = 'https://schema.org/WebPage'; | |
return $attributes; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment