WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Default User Photo? (5 posts)

  1. thelocallanding
    Member
    Posted 5 years ago #

    Does anyone know of a way to set a default user photo that will show if there is no photo uploaded in the user's profile?

  2. Franz Josef Kaiser
    Member
    Posted 5 years ago #

    hi. i havenĀ“t installed it yet, but i think, there will be a <div> or <span> around the area, where the userphoto will apear. so why not hack the stylesheet of the plugin and define a default background for the <div>/<span>? would be the easiest sollution.

  3. Weston Ruter
    Member
    Posted 5 years ago #

    The plugin instructs how to provide a default. "The output of these template tags may be modified by passing four parameters: $before, $after, $attributes, and $default_src, as in: userphoto_the_author_photo($before, $after, $attributes, $default_src)."

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

  4. thelocallanding
    Member
    Posted 5 years ago #

    haha. more obvious than i expected. Thanks westonruter!

  5. jnothing
    Member
    Posted 5 years ago #

    The instructions doesn't seem that clear to me.. what files need to be edited to install this plugin??

Topic Closed

This topic has been closed to new replies.

About this Topic