avatar fix in posts
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
parent
7f8262104e
commit
9443bf3bc3
|
@ -19,7 +19,7 @@ function display_blog_post() {
|
||||||
<div class="post" id="post-<?php the_ID() ?>">
|
<div class="post" id="post-<?php the_ID() ?>">
|
||||||
<div class="post-info">
|
<div class="post-info">
|
||||||
<?php if ($enable_post_author_gravatar == 'yes') { ?>
|
<?php if ($enable_post_author_gravatar == 'yes') { ?>
|
||||||
<div class="post-author-gravatar"><?php echo get_avatar(get_the_author_meta('email'), 64,'', get_the_author_meta('display_name')); ?></div>
|
<div class="post-author-gravatar"><?php echo str_replace("alt='", "alt='".get_the_author_meta('display_name')."' title='".get_the_author_meta('display_name'),get_avatar(get_the_author_meta('email'), 64)); ?></div>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if ($enable_post_calendar == 'yes') { ?>
|
<?php if ($enable_post_calendar == 'yes') { ?>
|
||||||
<div class="post-date">
|
<div class="post-date">
|
||||||
|
|
|
@ -21,7 +21,7 @@ function display_comic_post() {
|
||||||
<div class="post-comic">
|
<div class="post-comic">
|
||||||
<div class="post-info">
|
<div class="post-info">
|
||||||
<?php if ($enable_comic_post_author_gravatar == 'yes') { ?>
|
<?php if ($enable_comic_post_author_gravatar == 'yes') { ?>
|
||||||
<div class="post-author-gravatar"><?php echo get_avatar(get_the_author_meta('email'), 64,'', get_the_author_meta('display_name')); ?></div>
|
<div class="post-author-gravatar"><?php echo str_replace("alt='", "alt='".get_the_author_meta('display_name')."' title='".get_the_author_meta('display_name'),get_avatar(get_the_author_meta('email'), 64)); ?></div>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if ($enable_comic_post_calendar == 'yes') { ?>
|
<?php if ($enable_comic_post_calendar == 'yes') { ?>
|
||||||
<div class="post-date">
|
<div class="post-date">
|
||||||
|
|
Loading…
Reference in New Issue