Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #21575

    I’d like to add an author photo above the post date and comments box. I see this chunk of code in the loop-index.php file:

    <span class='post-date-comment-container'>

    <span class='date-container'><?php the_time('d') ?> <?php the_time('M') ?><span><?php the_time('Y') ?></span></span>

    <span class='comment-container'><?php comments_popup_link("0 ".__('Comments','avia_framework'), "1 ".__('Comment' ,'avia_framework'),

    "% ".__('Comments','avia_framework'),'comments-link',

    " ".__('Comments

    ); ?>


    Is there an existing tag for author photo? Or is this something I would have to make custom? Any tips?


    Found this piece of code:

    /images/authors/<?php the_author_ID()?>.jpg” alt=”<?php the_author(); ?>” title=”<?php the_author(); ?>” />

    Seems to be working.


    Hey graim,

    Glad you found a working solution and thank you for posting your find :)



Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Author Photo’ is closed to new replies.