Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
You can add any attribute you like to the HEAD tag. As you can see, I added a joke one here under the real one. :)
add_filter( 'genesis_attr_head', 'dc_modify_head_attr' );
function dc_modify_head_attr( $attributes ) {
$attributes['itemtype'] = '';
$attributes['bogusnewthing'] = 'brandnewwhatever';
return $attributes;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.