Search for: Log In Free Support [Resolved] Last Updated Gravatar Issue Home › Forums › Support › Last Updated Gravatar Issue This topic has 3 replies, 2 voices, and was last updated 6 months, 1 week ago by David. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts July 18, 2020 at 2:35 am #1367484 Abhit Hello GeneratePress Team, I’m using the php code provided by you using plugininception but still my gravatar is not showing as you can see here please let me know how can I solve it… July 18, 2020 at 4:25 am #1367546 DavidStaff Customer Support Hi there, what PHP are you using ? Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ July 19, 2020 at 12:11 am #1368370 Abhit function lh_page_hero_gravatar() { ob_start(); global $post; $author_id = $post->post_author; ?> <?php echo get_avatar( $author_id ); ?> <?php return ob_get_clean(); } add_shortcode( ‘page_hero_gravatar’, ‘lh_page_hero_gravatar’ ); July 19, 2020 at 3:44 am #1368489 DavidStaff Customer Support That code is for creating the Shortcode you’re using in your Header Element. See here to add the Avatar to the standard post meta : https://docs.generatepress.com/article/entry-meta-style/ Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In