Step 4: Using Author.php To Show Custom Fields
Now its time to display these fields in the front-end. In this step we will add to, or create the author.php template so it shows information about the author and their posts.
Now its time to display these fields in the front-end. In this step we will add to, or create the author.php template so it shows information about the author and their posts.
Now it is time to create a user directory page on our page. This can be as simple as a list of names with links to author profile pages or a full fledged directory with all of the user’s information.
Before finishing we will learn how to restrict access to the user directory and limit which users will be in the directory. We will also cover other methods for getting the values of fields that are better suited for when we only need one or two of the fields at a time.
That’s the end of the tutorial and its time for you to customize and extend this code to meet your needs. I give some ideas for taking this further, but I’d love to know what you come up with. Whatever it is, share the results and the code.
In this quick tutorial we will show you how to get values from a Pods’ relationship field, or a bi-directional relationship field between two different post types. There are many possible types of relationship fields, but one of the most common and powerful uses for them is to relate one type of post type to …
While WordPress’ built-in user profiles offer only limited fields, Pods will allow for pretty much anything we need to be added to profiles. In this tutorial we will be using plain text, number, phone number, website and avatar fields.