Avatar not updating

  • Author
    Posts
  • nigel@digital.wales

    Ive tried always to show custom image for vendor but nothing showing.

    <?php
    // Exit if accessed directly.
    defined( ‘ABSPATH’ ) || exit;
    ?>
    <div class=”hp-vendor__image”>
    <?php
    if ( has_post_thumbnail() ) :
    the_post_thumbnail( ‘hp_square_small’ );
    else :
    ?>
    ” alt=”<?php echo esc_attr( $vendor->get_name() ); ?>”>
    <?php endif; ?>
    </div>

    It looks as though

    if ( has_post_thumbnail() ) :
    the_post_thumbnail( ‘hp_square_small’ );

    Is empty so only showing placeholder.

    Any ideas?

    ihor developer

    The vendor image syncs with the user image, so when you upload an image in My Account/My Settings section it will be automatically set for vendor.

    nigel@digital.wales

    Where is My Account/My Settings section ?

    Image is showing in the avartar section under users area.

    nigel@digital.wales

    My avatar picture shows up in the users section but not on the listings, very strange

    nigel@digital.wales

    And my avatar pic shows upon here but not on hivepress.

    nigel@digital.wales

    Ok, got it now, i was being a bit dull.

    I was creating a user on the backend/dashboard instead of front end, works perfect.

    ihor developer

    Yes, if you add users via the front-end the user image will be synced automatically (this issue occurred because HivePress stores the listing author profile separately).

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.

Subscribe

Sign In

Don't have an account? Register

Forgot password?

Register

Already have an account? Sign In

Forgot password?

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.