You appear to be a bot. Output may be restricted
Description
Add schema markup attributes for entry element.
Usage
$array = entry( $attributes );
Parameters
- $attributes
- ( array ) required – Existing attributes for entry element.
Returns
array Amended attributes for entry element.
Source
File name: genesis/lib/functions/schema.php
Lines:
1 to 11 of 11
function entry( $attributes ) { if ( ! \is_main_query() && ! \genesis_is_blog_template() ) { return $attributes; } $attributes['itemscope'] = true; $attributes['itemtype'] = 'https://schema.org/CreativeWork'; return $attributes; }