Use new core navigation template tag

This commit is contained in:
Ben Word
2015-01-18 04:18:11 -06:00
parent 77e9cba688
commit d328bfec91
3 changed files with 13 additions and 14 deletions

View File

@@ -8,6 +8,7 @@
* Remove theme activation, move to [wp-cli-theme-activation](https://github.com/roots/wp-cli-theme-activation)
* Add Travis CI
* Update to jQuery 1.11.2
* Use new core navigation template tag
* Update sidebar to fix default template check
### 7.0.3: December 18th, 2014

View File

@@ -9,12 +9,6 @@
.alignright {
margin-bottom: (@line-height-computed / 2);
}
figure.alignnone {
margin-left: 0;
margin-right: 0;
max-width: 100%;
}
@media (min-width: @screen-sm-min) {
// Only float images if not on an extra small device like smartphones
.alignleft {
@@ -26,3 +20,14 @@ figure.alignnone {
margin-left: (@line-height-computed / 2);
}
}
figure.alignnone {
margin-left: 0;
margin-right: 0;
max-width: 100%;
}
.screen-reader-text {
&:extend(.sr-only all);
&:extend(.sr-only-focusable all);
}

View File

@@ -11,11 +11,4 @@
<?php get_template_part('templates/content', get_post_format()); ?>
<?php endwhile; ?>
<?php if ($wp_query->max_num_pages > 1) : ?>
<nav class="post-nav">
<ul class="pager">
<li class="previous"><?php next_posts_link(__('&larr; Older posts', 'sage')); ?></li>
<li class="next"><?php previous_posts_link(__('Newer posts &rarr;', 'sage')); ?></li>
</ul>
</nav>
<?php endif; ?>
<?php the_posts_navigation(); ?>