Add bio of users/authors?

Post Reply
User avatar
Renaud
Sr. Bludit
Posts: 48
Joined: Tue Feb 19, 2019 9:08 pm

Hello,
How can I add a little bio for each user? :
Image
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 :
Image
Image

Thanks
User avatar
Jay
Master Bludit
Posts: 133
Joined: Mon Feb 11, 2019 8:41 pm

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.
User avatar
Renaud
Sr. Bludit
Posts: 48
Joined: Tue Feb 19, 2019 9:08 pm

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.
Post Reply