Created
June 19, 2017 15:16
-
-
Save Perun/f28b40b22b564a9e66d439d52115e087 to your computer and use it in GitHub Desktop.
Den Kurzlink im Quelltext (head) einbinden:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function kurzlink() { | |
echo "<link rel='alternate shortlink' href='" . wp_get_shortlink() . "' />"; | |
} | |
add_action('wp_head','kurzlink'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment