Making WordPress.org


Ignore:
Timestamp:
04/10/2024 04:04:23 AM (13 months ago)
Author:
adamwood
Message:

wporg-support-2024: Fix headings hierarchy

Updates the sidebar headings to h2 and h3 to correct the headings hierarchy

See https://meta.trac.wordpress.org/ticket/4117

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/functions.php

    r13467 r13485  
    494494        }
    495495
    496         $output .= sprintf( '<a class="bbp-view-title wp-block-wporg-link-wrapper is-layout-flow wp-block-wporg-link-wrapper-is-layout-flow" href="%s"><h5 class="wp-block-heading has-inter-font-family has-small-font-size" style="font-weight:700;margin-bottom:0">%s</h5></a>',
     496        $output .= sprintf( '<a class="bbp-view-title wp-block-wporg-link-wrapper is-layout-flow wp-block-wporg-link-wrapper-is-layout-flow" href="%s"><h3 class="wp-block-heading has-inter-font-family has-small-font-size" style="font-weight:700;margin-bottom:0">%s</h3></a>',
    497497            esc_url( bbp_get_view_url( $view ) ),
    498498            bbp_get_view_title( $view )
Note: See TracChangeset for help on using the changeset viewer.