small fix - adding 'Written by [author]' back after it was
accidentally removed in acea241631
This commit is contained in:
@@ -6,10 +6,7 @@
|
|||||||
<header>
|
<header>
|
||||||
<h1 class="entry-title"><?php the_title(); ?></h1>
|
<h1 class="entry-title"><?php the_title(); ?></h1>
|
||||||
<time class="updated" datetime="<?php the_time('c'); ?>" pubdate><?php printf(__('Posted on %s at %s.', 'roots'), get_the_time('l, F jS, Y'),get_the_time())?></time>
|
<time class="updated" datetime="<?php the_time('c'); ?>" pubdate><?php printf(__('Posted on %s at %s.', 'roots'), get_the_time('l, F jS, Y'),get_the_time())?></time>
|
||||||
<p class="byline author vcard">
|
<p class="byline author vcard"><?php _e('Written by', 'roots'); ?> <?php the_author_posts_link(); ?></p> </header>
|
||||||
<?php _e('Written by', 'roots');?> <?php the_author_posts_link(); ?>
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<div class="entry-content">
|
<div class="entry-content">
|
||||||
<?php the_content(); ?>
|
<?php the_content(); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
2
loop.php
2
loop.php
@@ -14,7 +14,7 @@
|
|||||||
<header>
|
<header>
|
||||||
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
|
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
|
||||||
<time pubdate datetime="<?php the_time('c'); ?>"><?php printf( __('Posted on %s at %s.','roots'), get_the_time('l, F jS, Y'), get_the_time()) ?></time>
|
<time pubdate datetime="<?php the_time('c'); ?>"><?php printf( __('Posted on %s at %s.','roots'), get_the_time('l, F jS, Y'), get_the_time()) ?></time>
|
||||||
<p class="byline author vcard"><?php the_author_posts_link(); ?></p>
|
<p class="byline author vcard"><?php _e('Written by', 'roots'); ?> <?php the_author_posts_link(); ?></p>
|
||||||
</header>
|
</header>
|
||||||
<div class="entry-content">
|
<div class="entry-content">
|
||||||
<?php if (is_archive() || is_search()) : // Only display excerpts for archives and search ?>
|
<?php if (is_archive() || is_search()) : // Only display excerpts for archives and search ?>
|
||||||
|
|||||||
Reference in New Issue
Block a user