WordPress.org

Support

Support » Plugins and Hacks » [Plugin: User Photo] Compatible with 2.5 yet?

[Plugin: User Photo] Compatible with 2.5 yet?

Viewing 6 replies - 1 through 6 (of 6 total)
  • youtubeline
    Member

    @youtubeline

    i have same problem.

    I was able to get this working with 2.5 just by adding this to my author.php file after populating $curauth (see the Author Templates page for examples):

    $authordata = $curauth;

    I haven’t seen any ill effects yet (though overwriting globals always makes me nervous, but whatever).

    Hope that’s helpful!

    Weston Ruter
    Participant

    @westonruter

    I just updated the plugin for WP 2.5.

    The latest release has new template tags which remove the need for setting a global $authordata

    Works perfectly — thanks so much for the update. 🙂

    Well, where is the author.php file?

    Just create one based off archive.php (if you have that in your theme) or index.php. Then insert the call to render the user photo wherever you want it to go. The Author Templates page even has a full sample author.php file you can just copy and paste (then update with the photo) if you want to.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: User Photo] Compatible with 2.5 yet?’ is closed to new replies.