Hi, how can I change ‘author archive for’ on author’s page or any other archive one?
thanks
Hey Antonia!
Please go to wp-content\themes\enfold\framework\php folder and open function-set-avia-frontend.php file and search “Archive for” and change any text you would like
Best regards,
Yigit
Thanks Yigit!
Is it possible changing from the nickname to the ‘nice name’? How so?
best,
Antonia
Hi!
I am not sure if i understood you clearly. Can you elaborate?
Best regards,
Yigit
Oh, sorry,
‘nice name’ usually means the name you choose for displaying the name in the profile’s author, and it is the same that enfold uses for displaying the name in the ‘about loop’. The default name in the title is the user name, that I’d like to change for the other one.
Is it more clear now? Thanks for your help!
Hey!
I’m sorry but I’m not sure what you want to do. Can you please post a link to a sample author page or archive page? A screenshot will help.
Regards,
Ismael
Hi again Ismael, I’d like to change the way the name of the author is displayed, from the user name to the ‘nice name’. In the link, we have the two examples. Entries by (user name) and loop author with ‘nice name’
thanks again!
a.
Hi!
In wp-content\themes\enfold\framework\php folder and open function-set-avia-frontend.php search for and replace
if(isset($curauth->nickname)) $output .= __('for:','avia_framework')." ".$curauth->nickname;
with
if(isset($curauth->user_nicename)) $output .= __('for:','avia_framework')." ".$curauth->user_nicename;
Regards,
Peter
thanks!