Change the way the subject/categories are displayed, moved them up to under the author.

Added showposts = back to the index.php utilizing the blog_postcount, new SVN seems to have fixed the issue.

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2009-08-22 16:22:40 -07:00
parent 1affea4216
commit 19ddffad22
3 changed files with 4 additions and 3 deletions

View File

@ -22,6 +22,6 @@ $archive_comic_width = "380";
$rss_comic_width = "180";
//BLOG POSTCOUNT - the number of blog entries to appear on the home page (default "5").
$blog_postcount = "2";
$blog_postcount = "3";
?>

View File

@ -24,6 +24,7 @@ function display_blog_post() {
<div class="post-text">
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<small> - By <?php the_author_posts_link(); ?> on <?php the_time('F jS, Y'); ?></small><br />
<small> - Subject: <?php the_category(','); ?> <?php edit_post_link('Edit Post', ' [ ', ' ] '); ?> </small><br />
<?php if(function_exists('the_ratings')) { the_ratings(); } ?>
</div>
<div class="clear"></div>
@ -34,7 +35,7 @@ function display_blog_post() {
</div>
<div class="post-extras">
<div class="tags">
<?php the_tags('&#9492; Tags: ', ', ', '<br />'); ?> Posted in: <?php the_category(','); ?> <?php edit_post_link('Edit Post', ' [ ', ' ] '); ?>
<?php the_tags('&#9492; Tags: ', ', ', '<br />'); ?>
</div>
<div class="comment-link">
<?php if ('open' == $post->comment_status) { comments_popup_link('&ldquo;Comment!&rdquo;', '&ldquo;1 Comment&rdquo;', '&ldquo;% Comments&rdquo;'); } ?>

View File

@ -78,7 +78,7 @@
if ($disable_blog_frontpage == 'no') {
if (have_posts()):
$blog_query = '&cat=-"'.exclude_comic_categories().'"&paged='.$paged;
$blog_query = 'showposts='.$blog_postcount.'&cat=-"'.exclude_comic_categories().'"&paged='.$paged;
$posts = query_posts($blog_query);
while (have_posts()) : the_post();