WordPress.org

Ready to get started?Download WordPress

Forums

Post Author not showing up in Posts....HELP (3 posts)

  1. techtangerine
    Member
    Posted 3 years ago #

    Hello,

    My WordPress.org website is: http://www.techtangerine.com/

    I am using the WP Theme Js 04 w
    http://wordpress.org/extend/themes/js-o4w

    Apparently this theme is designed such that the post author does not show.

    I have tried contacting the theme maker but he has no contact info.

    Please help!

  2. alchymyth
    Forum Moderator
    Posted 3 years ago #

    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.

  3. techtangerine
    Member
    Posted 3 years ago #

    Thanks! Problem solved

Topic Closed

This topic has been closed to new replies.

About this Topic