-
Hello
I have two places to the site author avatars disappeared after installing your plugin. Please tell me how I can conclude your avatars there?
Thanks in advance!single.php
<div class=”meta-info”>
<?php
$avatar = get_avatar_url(get_avatar(get_the_author_meta(’email’) , 60)); ?>
<div class=”blog_author_image singlepage” style=”background-image: url(‘<?php print $avatar; ?>’);”></div>
<div class=”blog_author_info”> <?php _e(‘by ‘, ‘wpestate’);
print get_the_author(); ?><br>
<?php the_date(); ?>
</div>
<div class=”blog_category”>
<span class=”blog_category_mobile”><?php _e(‘Category: ‘,’wpestate’);?> </span>
<?php echo ‘ ‘;the_category(‘, ‘); ?>
</div><div class=”blog_social”>
&t=<?php print urlencode(get_the_title()); ?>” class=”social_facebook”>
” class=”social_tweet”>
&title=<?php print urlencode(get_the_title()); ?>” class=”social_google”>
</div>
</div>
********************************************************bloglisting.php
<?php
// blog listing
$thumb_id = get_post_thumbnail_id($post->ID);
$preview = wp_get_attachment_image_src(get_post_thumbnail_id(), ‘agent_picture_thumb’);
?>
<div class=”blog_listing blog_bottom_border blog_listing_effect”><h2>“><?php print get_the_title(); ?></h2>
<div class=”post-meta-list”>
<?php
_e(‘Posted by ‘,’wpestate’); the_author();
_e(‘ в ‘,’wpestate’);
the_category(‘, ‘);
?>
</div><?php
$avatar = get_avatar_url(get_avatar(get_the_author_meta(’email’), 60));
$preview = wp_get_attachment_image_src(get_post_thumbnail_id(), ‘property_sidebar’);
$extra= array(
‘data-original’=>$preview[0],
‘class’ => ‘lazyload’,
);if (has_post_thumbnail()) {?>
<div class=”blog_listing_image”>
<figure>
<?php the_post_thumbnail(‘property_sidebar’,$extra);?>
<figcaption class=”figcaption-post” data-link=”<?php the_permalink(); ?>”>
<span class=”fig-icon”></span>
</figcaption>
</figure>
</div><?php
$excerpt_class=”;
}else{
$excerpt_class=’fullexcept’;
}
?>
<div class=”blog_author_image” style=”background-image: url(‘<?php print $avatar; ?>’);”>
</div><div class=”listing_excerpt <?php print $excerpt_class;?>”>
<?php the_excerpt(); ?>
” class=”read_more_blog”><span class=”blog_plus”>+ </span> <?php _e(‘read more’,’wpestate’); ?></div>
</div>
********************************************************
You must be logged in to reply to this topic.