Added new template function, the_permalink(). echoes get_permalink. We are now consistent in the templates.

git-svn-id: https://develop.svn.wordpress.org/trunk@1112 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2004-04-21 04:12:55 +00:00
parent 6a14e2afb0
commit bd619bb1da
4 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ require('./wp-blog-header.php');
<?php the_date('','<h2>','</h2>'); ?>
<div class="post">
<h3 class="storytitle" id="post-<?php the_ID(); ?>"><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h3>
<h3 class="storytitle" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h3>
<div class="meta"><?php _e("Filed under:"); ?> <?php the_category() ?> &#8212; <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(); ?></div>
<div class="storycontent">