Archived topic
Author box custom fields
1 reply · Started by Francesco on April 19, 2021
Hi, I followed this tutorial
https://generatepress.com/forums/topic/author-box-4/#post-975518
and it worked almost nicely, but I wanted to add some fields like social accounts
So I used the same way to add a different php and css script to my Author box hook element
I used this code
https://technumero.com/add-author-box-in-wordpress-plugin-schema-optimized/
This is what I get (is way different from the result I should get, but I think is some css issue)
https://test.giuseppe.rocks/zw/2021/04/18/wwe-nuova-partnership-tra-r-truth-e-riddle/
I don't get custom fields in the author edit profile.
Is it normal? I should follow the tutorial step by step creating the child theme? I thought that was not required once we have elements and hooks
Hi there,
if you require other custom fields such as Social Links or other date - then I would recommend using a plugin that supports those options as it will register the User Meta fields and display them on the front end.
Adding custom user meta fields without a plugin requires a child theme or the code snippets plugin as you're adding code to the backend interface.