Преглед на файлове

changed the author to the author_link in the meta

Eddie Machado преди 15 години
родител
ревизия
c918b5f831
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  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 -->