Merge pull request #776 from mor10/new_heading_structure_redux
Change headings structure for better accessibility for assistive technology users.
This commit is contained in:
commit
45f1ea884c
5 changed files with 15 additions and 5 deletions
|
@ -11,7 +11,7 @@
|
|||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<header class="entry-header">
|
||||
<?php the_title( sprintf( '<h1 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h1>' ); ?>
|
||||
<?php the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?>
|
||||
|
||||
<?php if ( 'post' == get_post_type() ) : ?>
|
||||
<div class="entry-meta">
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<header class="entry-header">
|
||||
<?php the_title( sprintf( '<h1 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h1>' ); ?>
|
||||
<?php the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?>
|
||||
|
||||
<?php if ( 'post' == get_post_type() ) : ?>
|
||||
<div class="entry-meta">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue