This is used more than I thought in templates.
git-svn-id: https://develop.svn.wordpress.org/trunk@1305 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b14b19b3ff
commit
4ee5c8aefc
|
@ -4,6 +4,10 @@ function the_permalink() {
|
|||
echo get_permalink();
|
||||
}
|
||||
|
||||
function permalink_link() { // For backwards compatibility
|
||||
echo get_permalink();
|
||||
}
|
||||
|
||||
function permalink_anchor($mode = 'id') {
|
||||
global $id, $post;
|
||||
switch(strtolower($mode)) {
|
||||
|
|
Loading…
Reference in New Issue