Custom About Author
[resolved] Fix for the extra custom_field_1 image on top of posts (2 posts)

  1. conualfy
    Posted 3 years ago #


    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 of caa_add_social_media function definition).


  2. edwinkwan
    Plugin Author

    Posted 3 years ago #

    Hi conualfy,

    Sorry about that. It should be fixed from version 1.5.1 onwards.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Custom About Author
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic