Fix for the extra custom_field_1 image on top of posts
-
Hello!
Yesterday I have installed this plugin on my site and after I have set things up, I could see some unexpected behaviour: the field “custom_field_1” was both in the bio box and on top of my posts.
After a few hours of debugging and tests, I just figured it out: there is a line of code in ‘display-about-author-block.php’ that prints it and should not be there.
To to the line
if($media_type == CAA_Author::custom_link_1){ echo $social_media_content;}
and comment it. I have it on line 340, but I also have some extra lines for debugging, so you should have it before that (it is in the end ofcaa_add_social_media
function definition).https://www.ads-software.com/extend/plugins/custom-about-author/
- The topic ‘Fix for the extra custom_field_1 image on top of posts’ is closed to new replies.