Post Tagged with: "PHP"

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" [...]

Wednesday, 28 December, 2011 0 comments Read More
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 [...]

Thursday, 22 December, 2011 0 comments Read More