ThemeShaper Forums » Thematic


author image next to post title?

(3 posts)
  • Started 2 years ago by craw
  • Latest reply from craw
  • This topic is resolved
  1. craw

    Is there anyway I can get the author bio image next to the post title on a single post page?

    Thanks in advance for any help.

    Posted 2 years ago #
  2. craw

    I'm giving this a shot on my own and here's what I've come up with so far. I'm trying to add a div called "authorimage" and then put the code to call the plugin that will display the author image.

    It's putting the div right where I want it (to the left of the authordata) but the authorimage ends up up above the title of the post.

    My question is- why isn't it putting the author image in the "authorimage" div?

    Here's a link to a post example-

    Thanks for any help.

    // add author image

    function childtheme_override_postmeta_authorlink() {

    global $authordata;

    $authorlink = '<div id="authorimage">';
    $authorlink .= c2c_the_author_image();
    $authorlink .= '</div>';
    $authorlink .= '<span class="meta-prep meta-prep-author">' . __('By ', 'thematic') . '</span>';
    $authorlink .= '<span class="author vcard">'. '<a class="url fn n" rel=”author” href="';
    $authorlink .= get_author_posts_url($authordata->ID, $authordata->user_nicename);
    $authorlink .= '" title="' . __('View all posts by ', 'thematic') . get_the_author_meta( 'display_name' ) . '">';
    $authorlink .= get_the_author_meta( 'display_name' );
    $authorlink .= '</span>';

    return apply_filters('thematic_post_meta_authorlink', $authorlink);


    Posted 2 years ago #
  3. craw

    I'm pretty sure it's the code of the plugin I am using.

    Posted 2 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.