- 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
21 lines
819 B
PHP
21 lines
819 B
PHP
<?php /* Start loop */ ?>
|
|
<?php while (have_posts()) : the_post(); ?>
|
|
<?php roots_post_before(); ?>
|
|
<article <?php post_class() ?> id="post-<?php the_ID(); ?>">
|
|
<?php roots_post_inside_before(); ?>
|
|
<header>
|
|
<h1 class="entry-title"><?php the_title(); ?></h1>
|
|
<?php roots_entry_meta(); ?>
|
|
</header>
|
|
<div class="entry-content">
|
|
<?php the_content(); ?>
|
|
</div>
|
|
<footer>
|
|
<?php wp_link_pages(array('before' => '<nav id="page-nav"><p>' . __('Pages:', 'roots'), 'after' => '</p></nav>')); ?>
|
|
<?php $tags = get_the_tags(); if ($tags) { ?><p><?php the_tags(); ?></p><?php } ?>
|
|
</footer>
|
|
<?php comments_template(); ?>
|
|
<?php roots_post_inside_after(); ?>
|
|
</article>
|
|
<?php roots_post_after(); ?>
|
|
<?php endwhile; /* End loop */ ?>
|