Parcourir la source

changed the author to the author_link in the meta

Eddie Machado il y a 15 ans
Parent
commit
c918b5f831
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      archive.php
  2. 1 1
      single.php

+ 1 - 1
archive.php

@@ -26,7 +26,7 @@
 							
 							<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
 							
-							<p class="meta">Posted <time><?php the_time('F jS, Y'); ?></time> by <?php the_author(); ?> <span class="amp">&</span> filed under <?php the_category(', '); ?>.</p>
+							<p class="meta">Posted <time><?php the_time('F jS, Y'); ?></time> by <?php the_author_posts_link(); ?> <span class="amp">&</span> filed under <?php the_category(', '); ?>.</p>
 						
 						</header> <!-- end article header -->
 					

+ 1 - 1
single.php

@@ -12,7 +12,7 @@
 							
 							<h1><?php the_title(); ?></h1>
 							
-							<p class="meta">Posted <time><?php the_time('F jS, Y'); ?></time> by <?php the_author(); ?> <span class="amp">&</span> filed under <?php the_category(', '); ?>.</p>
+							<p class="meta">Posted <time><?php the_time('F jS, Y'); ?></time> by <?php the_author_posts_link(); ?> <span class="amp">&</span> filed under <?php the_category(', '); ?>.</p>
 						
 						</header> <!-- end article header -->