Ver Fonte

changed the author to the author_link in the meta

Eddie Machado há 15 anos atrás
pai
commit
c918b5f831
2 ficheiros alterados com 2 adições e 2 exclusões
  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 -->