WordPress.org

Ready to get started?Download WordPress

Forums

Default User Photo (3 posts)

  1. abelito
    Member
    Posted 6 years ago #

    Great plugin!

    How can I have a default photo when a user hasn't uploaded one yet?

    Thanks.

    http://wordpress.org/extend/plugins/user-photo/

  2. Weston Ruter
    Member
    Posted 6 years ago #

    When calling any of the userphoto_* functions, the 4th argument is the default photo to be used:

    userphoto_the_author_photo(
        "<span class='img'>My photo:",
        "</span>",
        array('class' => 'thephoto'),
        get_template_directory_uri() . "/images/default.jpg"
    );
  3. Robbie S
    Member
    Posted 6 years ago #

    It would be nice if there was an option in settings for User-Photo to define what picture should be used as the default photo (with an upload-function as well). Or if a default photo should be used at all even.

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags