Page 1 of 1
Add bio of users/authors?
Posted: Wed Jun 12, 2019 6:09 am
by Renaud
Hello,
How can I add a little bio for each user? :
It it diffucult to code? I can try to do it muself if you just tell me where is the code.
It's to add here :
Thanks
Re: Add bio of users/authors?
Posted: Wed Jun 12, 2019 4:28 pm
by Jay
Check this thread on githbub:
https://github.com/bludit/bludit/issues/963
tldr; use firstName field for a short description, and then just show field's content in theme using below snippet:
Code: Select all
<?php echo $page->user('firstName'); ?>
I don't remember if you can format text in this field using html tags, but I'd give a shot.
Re: Add bio of users/authors?
Posted: Wed Jun 12, 2019 7:31 pm
by Renaud
Jay wrote: ↑Wed Jun 12, 2019 4:28 pm
tldr; use firstName field for a short description, and then just show field's content in theme using below snippet:
Code: Select all
<?php echo $page->user('firstName'); ?>
Nice workaround, I like it! I will try to find a nice design with it.