Pixelpoldi
Forum Replies Created
-
Forum: Plugins
In reply to: [Avatar Privacy] No avatars on commentsThe Avatar of @newslicer is not shown on my site too (https://www.retropixels.at/chips-challenge-atari-lynx-1989/#comment-168). I use an other Theme and no caching plugin. Seems like Avatar Privacy does not like his Gravatar…
Forum: Plugins
In reply to: [Avatar Privacy] Author Profile Picture MissingIt works now perfectly! Thanks!
Forum: Plugins
In reply to: [Avatar Privacy] Author Profile Picture MissingWell, thats a good question. Cant answer that, because I′m not the Author of the Theme but it seems pretty senseless ??
Here is the complete code of the author-box :
<!-- about the author --> <div id="author-block" class="box-shadow-2px clearfix" itemscope="" itemtype="https://schema.org/Person"> <h2 class="author-title"><?php _e('About the author', 'color-theme-framework'); ?></h2> <div id="author-avatar"> <?php $user_email = get_the_author_meta( 'user_email' ); $hash = md5( strtolower( trim ( $user_email ) ) ); echo '<img itemprop="image" style="display:none;" src="https://gravatar.com/avatar/' . $hash .'" alt="" />'; ?> <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyeleven_author_bio_avatar_size', 100 ) ); ?> </div><!-- #author-avatar --> <div id="author-description" class="padding-20"> <meta itemprop="additionalName" content="<?php the_author_meta( 'first_name' ); ?> <?php the_author_meta( 'last_name' ); ?>"> <meta itemprop="url" content="<?php the_author_meta( 'user_url' ); ?>"> <p><?php the_author_meta( 'description' ); ?></p> <?php ct_get_author_social(); ?> <a style="font-size: 11px;" href="<?php echo get_author_posts_url(get_the_author_meta( 'ID' )); ?>"><?php _e('View all articles by ', 'color-theme-framework'); the_author_meta('display_name'); ?></a> </div><!-- #author-description --> </div><!-- #author-info -->
Forum: Plugins
In reply to: [Avatar Privacy] Author Profile Picture Missingyou′re absolutely right – I found this in single.php:
style="display:none;" src="https://www.retropixels.at/wp-content/uploads/2018/04/xxxxxxx.png" alt="" />';?>
It seems that the plugin WP User Avatar has modified the single.php this way ?!
So I Uploaded the original PHP File, which replaced theabove code with
echo '<img itemprop="image" style="display:none;" src="https://gravatar.com/avatar/' . $hash .'" alt="" />';
BUT: Still no Author-Picture ??
Forum: Plugins
In reply to: [Avatar Privacy] Author Profile Picture MissingNo, I dont use a Plugin for this.
<img src="https://[domain]/wp-content/uploads/2018/04/[hash].png" alt="" />
This is the image I uploaded for the “WP User Avatar” Plugin. Pretty strange that this line is still there, because I deactivated (but not uninstalled) it.