hello
please if someone can help on this:
how to display post author on a blog?
cheers,
turtle
hello
please if someone can help on this:
how to display post author on a blog?
cheers,
turtle
add this to your index.php and single.php in your theme's template files wherever you want it to show up.
<?php the_author()
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>
wow
thanks
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
cheers
this is whats in there:
<?php
/* Short and sweet */
define('WP_USE_THEMES', true);
require('./wp-blog-header.php');
?>
nothing more nothing less
did you mean to paste what you have there?
cheers
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:
http://codex.wordpress.org/Using_Themes
And more info on the function you want:
dude this support its awesome
i have never been to a support like this!
thanks all!
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?
If you use Firefox (Opera too I think), it has a built in RSS reader. :)
This topic has been closed to new replies.