You appear to be a bot. Output may be restricted
Description
Add attributes for primary sidebar element.
Usage
$array = genesis_attributes_sidebar_primary( $attributes );
Parameters
- $attributes
- ( array ) required – Existing attributes for primary sidebar element.
Returns
array Amended attributes for primary sidebar element.
Source
File name: genesis/lib/functions/markup.php
Lines:
1 to 9 of 9
function genesis_attributes_sidebar_primary( $attributes ) { $attributes['class'] = 'sidebar sidebar-primary widget-area'; $attributes['role'] = 'complementary'; $attributes['aria-label'] = __( 'Primary Sidebar', 'genesis' ); return $attributes; }