forked from mirror/_s
Image navigation improvements
Add a navigation role, replace spans with divs and also add a '.meta-nav' for both previous and next image links.
This commit is contained in:
parent
1ba2f62752
commit
37253e11f4
|
@ -35,9 +35,9 @@ get_header();
|
|||
<?php edit_post_link( __( 'Edit', '_s' ), '<span class="sep"> | </span> <span class="edit-link">', '</span>' ); ?>
|
||||
</div><!-- .entry-meta -->
|
||||
|
||||
<nav id="image-navigation" class="navigation-image">
|
||||
<span class="previous"><?php previous_image_link( false, __( '← Previous', '_s' ) ); ?></span>
|
||||
<span class="next"><?php next_image_link( false, __( 'Next →', '_s' ) ); ?></span>
|
||||
<nav role="navigation" id="image-navigation" class="navigation-image">
|
||||
<div class="previous"><?php previous_image_link( false, __( '<span class="meta-nav">←</span> Previous', '_s' ) ); ?></div>
|
||||
<div class="next"><?php next_image_link( false, __( 'Next <span class="meta-nav">→</span>', '_s' ) ); ?></div>
|
||||
</nav><!-- #image-navigation -->
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
|
|
Reference in New Issue