• Resolved hubilo

    (@hubilo)


    There has been some issue with the theme compatibility with advanced custom fields for a while now. We have been using Advanced Custom fields version 5.5.3 to upload custom images of users.

    However, the user profile no longer shows an option to upload a custom profile image.We even tried using gravatar images, but the homepage is unable to fetch a user image from the profile regardless of the source. It simply shows image source unknown.

    The website is custom coded. Here is the code for author image:

    <div class=”blog archives wrapper-space clearfix”>
    <div class=”container”>
    <div class=”author-box clearfix”>
    <figure class=”author-ava”>
    <?php if ( class_exists( ‘acf’ ) ) {
    $author_id1 = $curauth->ID;
    $magzma_select_your_profile_image = get_field(‘select_your_profile_image’, ‘user_’. $author_id1);
    $magzma_upload_profile_image = get_field(‘upload_profile_image’, ‘user_’. $author_id1);
    $magzma_author_img = aq_resize($magzma_upload_profile_image, 200 , 200, true);

    if( $magzma_select_your_profile_image == ‘upload’ ) { ?>
    ” alt=”<?php esc_html_e( ‘Author’, ‘magzma’ ); ?>”>
    <?php }
    else { ?>
    <?php echo get_avatar( $curauth->user_email, ‘200’ ); ?>
    <?php } ?>
    <?php }
    else { ?>
    <?php echo get_avatar( $curauth->user_email, ‘200’ ); ?>
    <?php } ?>
    </figure>

    We are using magzma premium version 1.1

    I’d be really grateful if you could help me with this

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Your theme authors have given you the wrong support link. Your support is not here at www.remarpro.com because we don’t support commercial themes.

    It seems your theme author’s website is broken, so try tracking down the individuals behind the theme: https://www.facebook.com/zloobtheme/

Viewing 1 replies (of 1 total)
  • The topic ‘Unable to fetch author profile picture’ is closed to new replies.