Display Tags and Author image
-
Good morning!
I have just installed your amazing plugin yesterday and it’s more or less ready to go live. I would just need to have two more details to be displayed in the result set.
Maybe these are already available and I just didn’t find them in the description. Or these are not available at the moment and there could be an easy addition to function.php or whatever (I am not very familar with PHP and WP development at all, so please excuse my if I am asking or describing something stupid…).One thing that’s missing for our page is to display the tags that are associated with the post. I would have guessed that this information is something that is already accessible somehow?
The other thing I am hoping for is to display the authors avatar image.
In our template files I am doing it with this code:
get_avatar( get_the_author_meta( ‘ID’ ), ”, ”, ”, [ ‘extra_attr’ => ‘itemprop=”image”‘ ] )Is there a chance to display this image as well (from inside the shortcode, which ich important for us to use)?
Thanks for reviewing and I would be very glad if one can help with these remaining problems.
Regards
SchoggiPS: Let me add my current shortcode
[wpp stats_views=0 stats_date=1 stats_author=1 limit=3 cat='-3' excerpt_by_words=1 excerpt_length=20 thumbnail_width=350 thumbnail_height=250 wpp_start='<div class="brick_list">' wpp_end='</div>' post_html='<div class="brick_item" onclick="location.href={url}"><div class="brick_item-image">{thumb_img}</div><div class="brick_item-header text-left"><p class="post_date-created post_cat-icon">{date}</p><h4><a href="{url}">{text_title}</a></h4></div><div class="brick_item-body"><span class="wpp-excerpt">{summary}</span></div><div class="brick_item-footer"><div class="author_infobox"><span class="author_name d-inline-block">{author}</span></div></div></div>']
- The topic ‘Display Tags and Author image’ is closed to new replies.