Merge pull request #1265 from roots/use-new-nav-template-tag
Use new core navigation template tag
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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(__('← Older posts', 'sage')); ?></li>
|
||||
<li class="next"><?php previous_posts_link(__('Newer posts →', 'sage')); ?></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<?php endif; ?>
|
||||
<?php the_posts_navigation(); ?>
|
||||
|
||||
Reference in New Issue
Block a user