Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter( 'genesis_attr_site-inner', 'sk_attributes_site_inner' );
- /**
- * Add attributes for site-inner element.
- *
- * @since 2.0.0
- *
- * @param array $attributes Existing attributes.
- *
- * @return array Amended attributes.
- */
- function sk_attributes_site_inner( $attributes ) {
- $attributes['role'] = 'main';
- $attributes['itemprop'] = 'mainContentOfPage';
- $attributes['id'] = 'genwpacc-genesis-content';
- return $attributes;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement