Genesis and WordPress Tutorials
by Sridhar Katakam 4 Comments Favorited: 3 times
This tutorial provides the steps to get the list of all users in the site, loop through them and if the user has published at least one post, display the user's avatar, display name and job title (a custom user profile field) and use CSS Grid with a Flebox fallback to display the results in a grid.
Add the following in child theme's functions.php to add Job Title field in the user profile pages:
To view the full content, please sign up for the membership.
Already a member? Log in below or here.
Find my tutorials helpful and wish to donate?
Session expired
Please log in again. The login page will open in a new tab. After logging in you can close it and return to this page.
Great code and nice idea. I implemented it as soon as I saw it and it was very easy to do so.
There are 2 things that I think should be employed
1. use media queries for the mobile version. 3 authors in a row is a little too much
2. Add a template for the author showing a short bio and all the posts from the author.
Regarding #2, see https://sridharkatakam.com/custom-author-archive-intro-genesis/.
Possible to get a widgetised version of this for a homepage?