fix more php errors

This commit is contained in:
Matthias Kretschmann 2016-03-10 14:18:33 +01:00
parent 1ff581d67b
commit 4d4c719dac
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<?php
global $post;
global $post, $post_id;
$title = get_the_title();
@ -43,7 +43,7 @@ $url = get_the_permalink();
</div>
<div class="entry-meta">
<?php echo get_avatar( get_the_author_email(), 'size here' ); ?>
<?php echo get_avatar( get_the_author_meta('email'), 48 ); ?>
<span class="author">by <?php echo $full_name; ?></span>
on <date><?php the_time( get_option( 'date_format' ) ); ?></date>
</div>