Ready to get started?Download WordPress


Iconic One
[resolved] Display author name in main page (4 posts)

  1. Aninstinctkiller
    Posted 11 months ago #

    Hey there!

    I saw the php code and it had support for displaying author name and date in single content page. But how can i show the author name in main page with all the article excerpts..

    Thanks a lot!

  2. Themonic
    Theme Author

    Posted 11 months ago #

    For doing this, replace line 25 of content.php with

    <?php if ( is_single() || is_home() ) : //for date on single and home page ?>

  3. Aninstinctkiller
    Posted 11 months ago #

    It worked! but i had done some styling changes to the actual author, date bar.. so doesn't fit. I'll mark it as solved but is there a way to apply different styling on home page layout, like just the author name and not date or comment on the front page? thanks again!

  4. kakasab
    Posted 8 months ago #

    Great, I was looking this since many days.. thanks to author.


You must log in to post.

About this Theme

About this Topic