WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] My articles/posts do not show Author name anywhere? (3 posts)

  1. havingfun
    Member
    Posted 1 year ago #

    Is there a setting somewhere within the Creativix Theme where I can set it to display the author name on each post?

    Thank you!

    http://www.youandthekids.com

  2. alchymyth
    Forum Moderator
    Posted 1 year ago #

    no - there is no setting.

    you would need to edit some templates -

    you could add the author information - for instance <?php the_author(); ?> http://codex.wordpress.org/Function_Reference/the_author - or alternatively <?php the_author_posts_link(); ?> http://codex.wordpress.org/Function_Reference/the_author_posts_link -

    in index.php, posssibly here:

    <li><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute();?>"><img src="<?php echo $wpcx_thumb_big;?>" alt="<?php the_title_attribute();?>" /></a><div class="slide_text"><h1><a href="<?php the_permalink();?>"><?php the_title();?></a></h1><span class="date">Published <?php the_time('F j, Y'); ?> - <?php comments_number('No Comments','One Comment','% Comments'); ?></span><p><?php echo $wpcx_slideshow_text;?></p><a href="<?php the_permalink();?>">read more</a></div></li>

    and/or here:

    <h3>Published <?php the_time(get_option('date_format')); ?> at <?php the_time(get_option('time_format'));?> - <?php comments_number('No Comments','1 Comment','% Comments'); ?></h3>

    and in single.php, possibly here:

    <span class="date">Published <?php the_time(get_option('date_format')); ?> at <?php the_time(get_option('time_format'));?></span>

    and in tpl-blog.php, possibly here:

    <span class="date">Published <?php the_time(get_option('date_format')); ?> at <?php the_time(get_option('time_format'));?></span>
  3. havingfun
    Member
    Posted 1 year ago #

    alchymyth...it worked! Thank you so much for your assistance...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.