cant get this code to work
-
this is what i have but i cant get the image to display
<a href="<?php the_author_meta( 'user_url' ); ?>"><img class="aligncenter" title="<?php the_author_meta( 'display_name' ); ?>’s Website" alt="Author Webite Link" src="<?php echo get_avatar( get_the_author_meta('ID'), 32 ); ?>"> </a>it just gets a broken link and “> in hyperlink text on certain pages
i know that get_avatar does work, there’s just something wrong in the code. everything else works fine, the link, the alignment, the title, everything but the image.
[ please read: http://codex.ww.wp.xz.cn/Forum_Welcome#No_Bumping ]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘cant get this code to work’ is closed to new replies.