• Bio is only showing about 10 words. I need it to show two paragraphs. Can’t find a control to adjust the No. of words shown, or the size of the frame in which the words sit. Can’t link to the page as it isn’t live yet.

    I have four authors showing with photos, name and first few words of bio.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Paul Bearne

    (@pbearne)

    Hi

    you can control via a filter
    https://authoravatars.wordpress.com/documentation/filters/filter-aa_user_bio_length/

    this is mayu work for you
    add_filter(‘AA_user_bio_length’, function(){ return 100:});

    Thread Starter alfiebrill

    (@alfiebrill)

    Thanks Paul

    Not sure what that is or how to use it. Is it like additional CSS?

    Regards

    Craig

    Plugin Author Paul Bearne

    (@pbearne)

    yes but it needs to go into your function.php file in a child theme (if you have one)

    add_filter(‘AA_user_bio_length’, function(){ return 100:});

    I would edit it via FTP as if I have got it wrong it can break the site if you are using the theme editor

    Paul

    Thread Starter alfiebrill

    (@alfiebrill)

    Thanks Paul

    Surprised there’s not an easier way. There’s already a slider under “Advanced” to change the character length to up to 200. I would have thought just changing that limit would be easier.

    I will try adding this.

    Thanks

    Craig

    Thread Starter alfiebrill

    (@alfiebrill)

    Added the lines in function.php – syntax error reported expected ‘;’ instead of ‘:’
    So I changed the colon after 100 to a semi colon.
    Added successfully.
    Didn’t crash site ??
    But still not able to change the length of bio text displayed. Still stuck 200.

    Plugin Author Paul Bearne

    (@pbearne)

    I will have a look at the code to see if I can workout the problem

    Thread Starter alfiebrill

    (@alfiebrill)

    That’s ok – decided to display short bio on each post instead of separate page.

    Thanks for your help.

    Cheers

    Craig

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Change Bio Length in Block?’ is closed to new replies.