WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. conualfy
    Member
    Posted 1 year ago #

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

    http://wordpress.org/extend/plugins/custom-about-author/

  2. edwinkwan
    Member
    Plugin Author

    Posted 1 year 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

About this Topic