Created
November 27, 2011 19:22
-
-
Save kepek/1398017 to your computer and use it in GitHub Desktop.
Custom Author Permalink for Wordpress
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
<?php | |
function kepek_author_rewrite() { | |
global $wp_rewrite; | |
$wp_rewrite->author_base = 'autor'; | |
$wp_rewrite->flush_rules(); | |
} | |
add_action('init', 'kepek_author_rewrite'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment