People Page
This plugin allows editors to create a “People Page” that displays a list of selected site users with photos, bios, titles, profile and website links and more. When activated via a page template, the plugin creates a drag and drop meta box which editors can use to select users and create headers. Th
This plugin allows editors to create a “People Page” that displays a list of selected site users with photos, bios, titles, profile and website links and more.
When activated via a page template, the plugin creates a drag and drop meta box which editors can use to select users and create headers. These users are listed on the people page template, along with links to their full profile when applicable.
The plugin also creates custom “Title” and “Photo” fields on the “User Edit” admin screen, which are used in theme pages. The plugin also supports “User Photo” plugin images and gravatars.
Three template files for both the “Twenty Twelve” and “Twenty Thirteen” themes are included within the /theme-templates/ directory:
- “people-page.php” displays the people page index list
- “author.php” displays a single user’s info page
- “people-page.css” contains basic people page styles for each theme; this file can be customized
See “Other Notes” for more details and usage instructions. Required Theme Files
After installation a “people-page.php” template must be created inside your theme’s folder in order to use the plugin. Default templates (based on the Twenty Twelve and Twenty Thirteen themes) are included inside the plugin’s ‘theme-templates’ directory. Copy this file to your theme’s directory if you wish to use it. You can also create a custom template from your site’s theme:
- 01Duplicate the “page.php” file in your theme’s folder and rename it “people-page.php”
- 02Assign your new page as a template by entering the following comment directly after the first php tag: /* Template Name: People Page */
- 03Insert the people page index function after the WordPress loop (or wherever you’d like it to appear):
Excerpt Length Argument (integer, optional) : Set the character limit where “Biographical Info” will be excerpted. Default = 420.
A CSS stylesheet “people-page.css” that contains basic styles can be found in each of the ‘theme-templates’ subdirectories. Copy it into your theme’s directory to apply the default styles. The styles in this file can be altered to better match your theme.
You may also wish to customize your theme’s “author.php” template, which is used to display users’ profiles. A sample “author.php” file (based on the Twenty Twelve theme) is included in the ‘theme-templates’. To use your theme’s existing “author.php” file, insert the people page author function after the loop (or wherever you’d like it to appear):