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
+4
View File
@@ -1,5 +1,9 @@
<?php
function the_permalink() {
echo get_permalink();
}
function permalink_anchor($mode = 'id') {
global $id, $post;
switch(strtolower($mode)) {