Просмотр исходного кода

changed the_author to the_author_posts_link

Eddie Machado 15 лет назад
Родитель
Сommit
13dd723d3a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      single-custom_type.php

+ 1 - 1
single-custom_type.php

@@ -27,7 +27,7 @@ single-bookmarks.php
 							
 							<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 echo get_the_term_list( get_the_ID(), 'custom_cat', "" ) ?>.</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 echo get_the_term_list( get_the_ID(), 'custom_cat', "" ) ?>.</p>
 						
 						</header> <!-- end article header -->