Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
… see also issue #99
  • Loading branch information
bassjobsen committed Feb 3, 2014
1 parent 4f1417e commit a25c954
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions content.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@
}
?>
<?php
if(is_single())
if(is_home() || is_category() || is_tag() || is_search())
{
the_content();
the_excerpt();
}
else
{
the_excerpt();
the_content();
}
wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'jamedo-bootstrap-start-theme' ), 'after' => '</div>' ) );
?>
Expand Down Expand Up @@ -161,4 +161,4 @@
?>


<?php is_single()?jbst_content_nav_bottom_single():jbst_content_nav_bottom(); ?>
<?php is_single()?jbst_content_nav_bottom_single():((is_home() || is_category() || is_tag() || is_search())?jbst_content_nav_bottom():''); ?>

0 comments on commit a25c954

Please sign in to comment.