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 | |
/* | |
Lets you display a forgot/reset password page within your theme. | |
Eg, create a page called 'Forgot Password'; save this file as page-forgot-password.php | |
Adapted from code posted here: http://wordpress.stackexchange.com/questions/14692/check-for-correct-username-on-custom-login-form/14696#14696 | |
*/ |
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 register_taxonomies(){ | |
register_taxonomy('author', array('post'), | |
array( | |
'labels' => array( | |
'name' => __( 'Authors' ), | |
'singular_name' => __( 'Author' ) | |
), | |
'show_ui' => true, | |
'query_var' => true |
NewerOlder