how to display post author on a blog?
add this to your index.php and single.php in your theme’s template files wherever you want it to show up.
for example it looks like this in my index.php
<div class="post"> <!--div post starts-->
<h3 class="storytitle" id="post-<?php the_ID(); ?>"><a>" rel="bookmark"><?php the_title(); ?></a></h3>
<div class="meta"><?php _e("Filed under:"); ?> <?php the_category(',') ?> — <?php// the_author() ?> <?php the_time('F j, Y @ g:i a'); ?> <strong>by <?php the_author() ?></strong> <?php edit_post_link(__('Edit This')); ?></div>
im still confuse since i dunno too much php
i forgot to tell you i want it like blogger do
posted by author name and the time
time is also important
this is whats in there:
/* Short and sweet */
nothing more nothing less
did you mean to paste what you have there?
On your dashboard, click “presentation” and then theme editor. Remember to BACK UP your files first!
this is where you can edit your theme’s template files to add the author into the posts. The time is usually already there. I’ve never used the default theme with WordPress, so I’m not sure exactly how that particular theme is set up.
I’m sorry, I’m not familiar with how blogger sets their stuff up.
Patience is the key. I’m no expert in PHP, but I had to learn a little to modify WP to how I wanted it to look.
You’ll need to edit your theme:
And more info on the function you want:
dude this support its awesome
i have never been to a support like this!
oh by the way im so noob i need to press F5 to view the replies =(
what rss reader can i use for keeping track?
is there a popular one?
- The topic ‘how to display post author on a blog?’ is closed to new replies.