Viewing 2 replies - 1 through 2 (of 2 total)
  • this is the code in index.php to show the data below the post title on the front page:

    <span class="index-meta"><?php _e('Date: ', 'js-o4w'); ?><?php the_time('Y.m.d') ?> | <?php _e('Category: ', 'js-o4w'); ?><?php the_category(', ') ?> | <?php _e('Response: ', 'js-o4w'); ?><?php comments_number('0','1','%'); ?></span>

    and this is the code from single.php:

    <span class="index-meta"><?php _e('Date: ', 'js-o4w'); ?><?php the_time('Y.m.d') ?> | <?php _e('Category: ', 'js-o4w'); ?><?php the_category(', ') ?> | <?php _e('Tags: ', 'js-o4w'); ?><?php the_tags(' ', ',', ' '); ?></span>

    similar code is in archive.php.

    here is some code to add a possible author info:
    <?php the_author_posts_link(); ?>
    http://codex.wordpress.org/Function_Reference/the_author_posts_link
    related:
    http://codex.wordpress.org/Function_Reference/the_author

    for more suggestions, you need to define first, where you want to add the author info into the existing data.

    Thread Starter techtangerine

    (@techtangerine)

    Thanks! Problem solved

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Post Author not showing up in Posts….HELP’ is closed to new replies.