Skip to content

WooCommerce Category Heading missing in non-accessible themes #44

Open
@dreamwhisper

Description

@dreamwhisper

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 );

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions