Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WooCommerce Category Heading missing in non-accessible themes #44

Open
dreamwhisper opened this issue Jan 9, 2019 · 0 comments
Open

Comments

@dreamwhisper
Copy link
Contributor

Original issue: #21

The Category title does not display in non-accessible themes currently unless the Genesis Archive Headline is filled out.

It goes back to showing 2 H1 tags on the category pages and this pull request which we took parts of and improved upon in this issue.

Ultimately, add_filter( 'woocommerce_show_page_title', '__return_false' ); causes no title to show in a non-accessible theme that doesn't have the Genesis Archive Headline filled out.

Workarounds:

  • Add accessible headings add_theme_support( 'genesis-accessibility', array( 'headings' ) );
  • Fill out the Genesis Archive Headline
  • Add this filter to functions.php: add_filter( 'woocommerce_show_page_title', '__return_true', 100 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant