How to change this post meta layout: http://prntscr.com/77pv29
To something like this: http://prntscr.com/77pvlx
I meant to say I want author’s Gravatar before author name and category at last. How to do it?
Thanks in advance 🙂
Hi,
If you want to display avatar next to author name please check this solution – https://forum.tagdiv.com/topic/author-bio-help/#post-45418
You have to use a div if you want to make more customizations and move category code after that div – http://screencast.com/t/WXpdSAfVQW You can use custom css for to look like you wish.
Thanks!
I tried to add the piece of code in all the files according to the post link you mentioned, but it didn’t work. User’s gravatar has to appear, but nothing appeared. It was like the code I added had no effect at all. What to do now?
Hi,
I have checked this again and it works fine – http://screencast.com/t/If2RNyzwroA
get_avatar(get_the_author_meta( 'ID' ), 32 ) .
Result: http://screencast.com/t/RXFwsthnBbHe
Thanks!
Hello
Here’s my exact issue. I added the code to loop-single.php file that controls default post template. It worked just fine. I can see my author image on default post template but I want to use post template 7. So I tried to add the same code in loop-single-7.php but
<?php echo $td_mod_single->get_author();?>
is not there in loop-single-7.php file! So how can I add
get_avatar(get_the_author_meta( 'ID' ), 32 ) .
there. Any solutions?
I tried doing this: http://screencast.com/t/2XgqTjTpqsOf
and nothing happened as always: http://screencast.com/t/KYZdXKrXvboZ
any other solution? I’m stuck here, tell me a working solution!
Hi,
Please make this change in main theme, as in the child theme single templates files will not overwrite the main theme for the moment. In version 6.3 these files(and more) will be supported by child theme.
Thanks!
Awwhhh it worked finally. Thanks a lot 🙂
But this change will be overwritten with future updates -_- what to do then?
Hi,
Unfortunately you will need to re-add this change as the file will be overwritten when you will update the theme. I just said above that in version 6.3 the child theme will support single template files – https://forum.tagdiv.com/the-child-theme-support-tutorial/
Thanks!