Tagged: author bio
-
AuthorPosts
-
May 10, 2020 at 8:48 am #1211607
Hello,
Would anyone happen to know how to Hide Author Bio on the Author page Where Not Defined?
In other words, I want to hide the default author bio, but only when it is not customized.
I want to change the default bio. I need the following to stop appearing…
“This author has yet to write their bio.
Meanwhile lets just say that we are proud (author name) contributed a whooping 1 entries.”See example bio page below…
Thank you,
Jas
May 11, 2020 at 1:37 pm #1211832Resolved
I copied /includes/loop-about-author.php to the child folder.
Then deleted the offending text.Who’s idea was “Meanwhile lets just say that we are proud” “whooping 1 entries”. Terrible wording.
It would be great is someone added one field that allowed the default author bio to be edited or deleted.
Thanks for your help,
Jas
May 12, 2020 at 12:34 pm #1212128Hi Jasmer,
There is a general WordPress way to edit author bio.
Please have a look at this article:
https://www.wpbeginner.com/wp-tutorials/how-to-add-an-author-info-box-in-wordpress-posts/Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
VictoriaMay 27, 2020 at 4:04 am #1216783Hi Victoria,
Thanks for the info.
To be more specific, I have hundreds of users on this site and very few of them will updated their author bios therefore… Who’s idea was “Meanwhile lets just say that we are proud” “whooping 1 entries”. Terrible wording. It would be great is someone added one field that allowed the default author bio to be edited or deleted
Just a global checkbox to disable any default wording in the author bio would be perfect. If you know of a plugin that does this please let me know.
Thank you,
Jas
May 27, 2020 at 4:06 am #1216784There is a discussion here indicating what I’ve done, but a plugin would be great. Really this should be built into WordPress though.
https://kriesi.at/support/topic/default-author-description/#post-298547
May 27, 2020 at 2:26 pm #1216956Hi Jasmer,
I will forward this thread as a feature request. Thank you for your input.
Best regards,
VictoriaMay 27, 2020 at 3:47 pm #1216998Hey!
There are filters in enfold\includes\loop-about-author.php like avf_author_description.
For next release 4.7.5.1:
I added a new parameter $context to these filters in that file so it will be easier to identify the filter call.
And I added a new filter avf_author_description_loop_about which is right before the final output that allows to skip completly the section or return a custom description text.
Hope this will help..
Best regards,
GünterMay 27, 2020 at 11:39 pm #1217206Hi Günter! Sounds great, but I’m not sure, in this instance, how I would specify a global default author bio (when not defined) or select globally to have no author bio (when not defined).
I want to be able to create an author bio, but I want to be able to choose global default bio text (or choose nothing) if I have not specified a custom bio.
Thanks for the technical explanation, but would you mind explaining this in layman’s terms please and how the change would be selected on the user side once your change is implemented?
Thanks,
Jas
June 4, 2020 at 5:06 pm #1219467Hi Jas,
Sorry for the late reply!
You can add following code to bottom of Functions.php file in Appearance > Editor
add_filter('avf_author_description', 'avf_author_description_mod'); function avf_author_description_mod($description){ if( empty( $description ) ) { $description = "Here goes my custom content"; } return $description; }
If author description is set, it would display it and if not set, it would display the custom content :)
Best regards,
Yigit -
AuthorPosts
- You must be logged in to reply to this topic.