Remove all frameworks except Bootstrap (#251)
- Remove all frameworks except Bootstrap - Remove roots-options.php and replace with a more simple roots-config.php - Include all Bootstrap Javascript plugins by default in js/plugins.js - Use Bootstrap Responsive and Topbar navigation by default - Use Bootstrap markup on forms, page titles, image galleries, alerts and errors, post and comment navigation - Remove Roots styles from style.css and introduce app.css for site-specific CSS. Remove almost all previous default Roots styles. - Add latest updates from H5BP project
This commit is contained in:
13
loop.php
13
loop.php
@@ -1,6 +1,9 @@
|
||||
<?php /* If there are no posts to display, such as an empty archive page */ ?>
|
||||
<?php if (!have_posts()) { ?>
|
||||
<p><?php _e('Sorry, no results were found.', 'roots'); ?></p>
|
||||
<div class="alert alert-block fade in">
|
||||
<a class="close" data-dismiss="alert">×</a>
|
||||
<p><?php _e('Sorry, no results were found.', 'roots'); ?></p>
|
||||
</div>
|
||||
<?php get_search_form(); ?>
|
||||
<?php } ?>
|
||||
|
||||
@@ -30,8 +33,8 @@
|
||||
|
||||
<?php /* Display navigation to next/previous pages when applicable */ ?>
|
||||
<?php if ($wp_query->max_num_pages > 1) { ?>
|
||||
<nav id="post-nav">
|
||||
<div class="post-previous"><?php next_posts_link(__('← Older posts', 'roots')); ?></div>
|
||||
<div class="post-next"><?php previous_posts_link(__('Newer posts →', 'roots')); ?></div>
|
||||
<nav id="post-nav" class="pager">
|
||||
<div class="previous"><?php next_posts_link(__('← Older posts', 'roots')); ?></div>
|
||||
<div class="next"><?php previous_posts_link(__('Newer posts →', 'roots')); ?></div>
|
||||
</nav>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
Reference in New Issue
Block a user