瀏覽代碼

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 -->