Everything in WordPress

  • Go
    Creating an Author Template in WordPress
    Wednesday, August 26th, 2009

    Each user needs a landing page that displays all the user meta from her profile. Thankfully, WordPress has already accounted for this, because when the application requests an author by ID (?author=#), it looks for the following templates in this order: author.php, archive.php, index.php.

  • Go
    Integrating User Photo with Members List
    Tuesday, August 25th, 2009

    What WordPress does with avatars is already fairly cool—you have the option of allowing Gravatars as well as implementing randomly generated Wavatars, Identicons or MonsterIDs. The User Photo plugin lets users upload a photo of their choice via their Profile. If users don't upload a photo, we can have the avatar "fall back" to the user's gravatar, or, optionally, generate a random avatar according to WordPress' Discussion settings. This guarantees that users will always have avatars.

  • Go
    Adding Custom User Meta to WordPress User Profiles
    Monday, August 24th, 2009

    So far, you've got a nice, browsable archive of your registered users thanks to Members List, with each user's profile being more or less infinitely customizable through the Author template. Plus users can upload their own photos. Naturally, the next step is to extend user profiles with own custom user meta.

  • Go
    Sort Posts by Last Name Using Nate Olsen’s WP Snap Plugin for WordPress
    Thursday, August 20th, 2009

    I’ve used Nateomedia.com’s WP Snap plugin for quite awhile now, whether it was to sort through encyclopedia  entries, organize archives of contributor bios, or simulate a dictionary in WordPress. On Nathan Olsen’s website, one commenter mentioned how he had managed to make WP Snap organize an archive of bios, but sorted by last, middle, and then first name. Unfortunately, the sample code the commenter provided got mangled by Nate’s comments sanitizer, so I decided to muck through the plugin myself and hack together a solution.

  • Go
    Autoupdate Thunderbird Signature with Your Latest WordPress Post
    Tuesday, August 18th, 2009

    So this is what we're going to do: First, we'll write a quick local PHP script that parses the RSS feed of your blog, to get the latest blog post's URL and title. Then, we'll save that information to a .txt file, which you will set as your signature in Thunderbird. Finally, we'll write a .vb file that will open your script, update the .txt file, and then close itself when your computer boots.