I'm using the Depo Skinny theme. I'd like to move the category, date and comments to the bottom of the post rather than the top. How do I do that?
Here is the site: http://helothevizsla.com/
Thanks.
I'm using the Depo Skinny theme. I'd like to move the category, date and comments to the bottom of the post rather than the top. How do I do that?
Here is the site: http://helothevizsla.com/
Thanks.
He is adorable and your photos are great.
From 'Appearance; Editor' select 'Single.php'
Move :
<p class="byline">In <?php the_category(', ') ?> on <?php the_time('j F Y') ?> <?php the_tags('tagged ', ', ', ''); ?> with <?php comments_number('no comments', '1 comment', '% comments'); ?></p>
From right below the 'the_title' to below 'the_content'
So Change:
<div class="post">
<h3><?php the_title(); ?><?php edit_post_link('Edit', '<span class="edit">', '</span>'); ?></h3>
<p class="byline">In <?php the_category(', ') ?> on <?php the_time('j F Y') ?> <?php the_tags('tagged ', ', ', ''); ?> with <?php comments_number('no comments', '1 comment', '% comments'); ?></p>
<?php the_content(); ?>
</div><!-- end post -->
to
<div class="post">
<h3><?php the_title(); ?><?php edit_post_link('Edit', '<span class="edit">', '</span>'); ?></h3>
<?php the_content(); ?>
<p class="byline">In <?php the_category(', ') ?> on <?php the_time('j F Y') ?> <?php the_tags('tagged ', ', ', ''); ?> with <?php comments_number('no comments', '1 comment', '% comments'); ?></p>
</div><!-- end post -->
You may also need to do the same to the 'archive.php'.
Good luck
Thanks for your reply. I made the changes you suggested, but it didn't seem to work. Here's the code from single.php now:
<div class="post">
<h3><?php the_title(); ?><?php edit_post_link('Edit', '<span class="edit">', '</span>'); ?></h3>
<?php the_content(); ?>
<p class="byline">In <?php the_category(', ') ?> on <?php the_time('j F Y') ?> <?php the_tags('tagged ', ', ', ''); ?> with <?php comments_number('no comments', '1 comment', '% comments'); ?></p>
<br />
</div><!-- end post -->
And here's the code from archive.php:
<div class="post">
<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a><?php edit_post_link('Edit', '<span class="edit">', '</span>'); ?></h3>
<?php the_excerpt() ?>
<p class="byline">In <?php the_category(', ') ?> on
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_time('j F Y') ?></a> <?php the_tags('tagged ', ', ', ''); ?> with <?php comments_popup_link('no comments', '1 comment', '% comments'); ?></p>
</div><!-- end post -->
But if you look at the site it hasn't changed.
??
Looks like you got it to work. Well done. What was it?
Thanks for checking back. I had to change the index.php template as well.
This topic has been closed to new replies.