The following is what you would put in the “active” themes functions.phppage. Changing the Logo Default it is the WordPress Logo. Change the file path to meet your needs. [sourcecode language="php" wraplines="true"] function custom_login_logo() { echo ‘<style type="text/css">h1 a { background: url(‘.get_bloginfo(‘template_directory’).’/images/logo-login.gif) 50% 50% no-repeat !important; }</style>’; } add_action(‘login_head’, ‘custom_login_logo’); [...]
WordPress: Display Post’s Author Information
WordPress: Display Post’s Author Information
If you want to display the information of the post’s author, just use this code below. Simple and easy! The image it returns comes from the email address and the corresponding Gravatar. The name and bio information comes from the User settings in the WordPress admin section. [sourcecode language="php" wraplines="true" [...]
How To: Automatically email contributors when their posts are published
How To: Automatically email contributors when their posts are published
When you have site that has multiple authors, it would be plus to have those authors be emailed once their article is published. Where here is a little trick to allow that. Just put the following code in your functions.php page and save. [sourcecode language="php" wraplines="true"] function wpr_authorNotification($post_id) { $post [...]









