Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #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
    Off','avia_framework')

    ); ?>

    </span>

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

    #112320

    Found this piece of code:

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

    Seems to be working.

    #112321

    Hey graim,

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

    Regards,

    Devin

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

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