cleanup
This commit is contained in:
@@ -21,11 +21,7 @@
|
|||||||
<?php } ?>
|
<?php } ?>
|
||||||
</header>
|
</header>
|
||||||
<div class="entry-content">
|
<div class="entry-content">
|
||||||
<?php if (is_archive() || is_search()) : // Only display excerpts for archives and search ?>
|
<?php the_excerpt(); ?>
|
||||||
<?php the_excerpt(); ?>
|
|
||||||
<?php else : ?>
|
|
||||||
<?php the_content('Continue…'); ?>
|
|
||||||
<?php endif; ?>
|
|
||||||
</div>
|
</div>
|
||||||
<footer>
|
<footer>
|
||||||
<?php $tag = get_the_tags(); if (!$tag) { } else { ?><p><?php the_tags(); ?></p><?php } ?>
|
<?php $tag = get_the_tags(); if (!$tag) { } else { ?><p><?php the_tags(); ?></p><?php } ?>
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
<?php } ?>
|
<?php } ?>
|
||||||
</header>
|
</header>
|
||||||
<div class="entry-content">
|
<div class="entry-content">
|
||||||
<?php the_content('<p>'.__('Read the rest of this entry »', 'roots').'</p>'); ?>
|
<?php the_content(); ?>
|
||||||
</div>
|
</div>
|
||||||
<footer>
|
<footer>
|
||||||
<?php wp_link_pages(array('before' => '<nav id="page-nav"><p>' . __('Pages:', 'roots'), 'after' => '</p></nav>' )); ?>
|
<?php wp_link_pages(array('before' => '<nav id="page-nav"><p>' . __('Pages:', 'roots'), 'after' => '</p></nav>' )); ?>
|
||||||
|
|||||||
2
loop.php
2
loop.php
@@ -24,7 +24,7 @@
|
|||||||
<?php if (is_archive() || is_search()) : // Only display excerpts for archives and search ?>
|
<?php if (is_archive() || is_search()) : // Only display excerpts for archives and search ?>
|
||||||
<?php the_excerpt(); ?>
|
<?php the_excerpt(); ?>
|
||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
<?php the_content('Continue…'); ?>
|
<?php the_content(); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
<footer>
|
<footer>
|
||||||
|
|||||||
Reference in New Issue
Block a user