1
0
mirror of https://github.com/ascribe/wp-theme synced 2024-12-22 17:23:55 +01:00

fix more php errors

This commit is contained in:
Matthias Kretschmann 2016-03-10 14:18:33 +01:00
parent 1ff581d67b
commit 4d4c719dac

View File

@ -1,5 +1,5 @@
<?php <?php
global $post; global $post, $post_id;
$title = get_the_title(); $title = get_the_title();
@ -43,7 +43,7 @@ $url = get_the_permalink();
</div> </div>
<div class="entry-meta"> <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> <span class="author">by <?php echo $full_name; ?></span>
on <date><?php the_time( get_option( 'date_format' ) ); ?></date> on <date><?php the_time( get_option( 'date_format' ) ); ?></date>
</div> </div>