mirror of
https://github.com/10h30/trestle.git
synced 2026-06-05 15:09:35 +09:00
Implement new accessibility updates with add_theme_support. Add mobile nav styling support
This commit is contained in:
@@ -29,6 +29,9 @@ function trestle_add_theme_support() {
|
||||
// Add support for footer widgets if specified in Trestle settings.
|
||||
add_theme_support( 'genesis-footer-widgets', trestle_get_option( 'footer_widgets_number' ) );
|
||||
|
||||
//* Add Accessibility support
|
||||
add_theme_support( 'genesis-accessibility', array( 'headings', 'drop-down-menu', 'search-form', 'skip-links', 'rems' ) );
|
||||
|
||||
}
|
||||
|
||||
add_action( 'after_setup_theme', 'trestle_remove_genesis_css_enqueue' );
|
||||
@@ -482,4 +485,4 @@ function trestle_is_current_or_descendant_post( $post_id = '', $target_id = '' )
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user