Provides a shortcode [people-lists list=example-list] that can insert a People List on any page,post or even sidebar to list selected users.
People Lists provides a rich text editor on the profile page for easy modifications of specific user profile information that can be displayed on any page using the [people-lists list=example-list] shortcode. Admins will also be able to add custom fields to the Your Profile section on WordPress and these fields can be displayed on any page using the People Lists template (which can be styled using HTML) that provides codes for every field that is desired to be displayed.
This plugin was developed alongside User Avatar and this plugin provides a thumbnail area in the Your Profile section, where users can upload & crop new images. There is a specific code in People Lists that hooks this thumbnail into your lists template display, so make sure you grab it!!!
Here’s a quick breakdown of features that this plugin provides:
I could go on and on, but I’ll spread the love into the screenshot and FAQ sections!
people-lists.zip
/wp-content/plugins/
directoryThese are the two areas where you'll notice changes after installing People Lists. (There's also a little happy face media button to add People Lists on Pages/Posts creation! :D)
Form for adding a new People Lists.
Form for management of a created People List.
Template Info displaying default codes (left) and default template (right).
Profile Settings form for adding new fields (e.g. Job Title, Mobile Contact, etc).
Template Info displaying added fields codes and their usage in the template.
Changes to Your Profile and where the new fields are displayed for users.
Rich-text (WYSIWYG) area making is much easier for users to insert any General Information.
Media button overlay to insert People List shortcode directly into page/post by clicking.
Under Settings on the dashboard, click on People Lists to create a new list! Also, under Users on the dashboard, click Your Profile to see the rich-text (WYSIWYG) editor and the same area where added fields will be displayed, as well as the User Avatar image display, which I have suggested you download because it has been built and uses the code %thumbnail% to pull the image that this plugin stores.
After creating a list, you will notice a tab named “Profile Settings” and after clicking on this, you simply have to enter the name of your new field and we will do the rest for you! Don’t worry about remembering the template code because we will provide it for you in the template section. This new field is added to the Your Profile section (under ‘Contact Info’) and extends the default WordPress fields to accommodate any fields you require like a mobile number, job title, height or even the user’s favourite pizza topping!
When you add a new list or visit the list page of a previously created list, you’ll notice a link called “Template Info”, which will toggle and display a tabbed area with default and added field codes. Default codes are based off of the default WordPress fields for user profile information, while added field codes are the fields that you create in the “Profile Settings” page of this plugin. To the right of the tabbed area is a default template for displaying user information, which can be customized to add different template codes or styled by CSS to change the appearance of how they are displayed on a page or post. The possibilities here are endless to help fit the needs of all users, so spend some time creating the perfect template for you!
There are two ways to insert a list onto a page or post! The easy method is to use the People Lists media button (the happy face :D) above the WYSIWYG on Pages and Posts. That will popup an overlay where you simply select the list you want to insert and the shortcode for it with automatically be added to the editor. The second method is to copy the shortcode from your list’s management page and the only benefit to this method would be that you can insert this code in the sidebar if you had a very simple template and styled it to fit there. Of course I would suggest clicking the happy face because I drew it myself and I think it’s super awesome! 😀
We even thought about this and have provided pin/unpin functionality, so the selected list goes where you go, making it easy for you to find the person you want on your list! No problem.
Instead of modifying the plugin and not benefit from any future updates. I created filters that can easily be used to add additional fields
eather not included by the plugin or created by a different plugin.
here is some example code.
ID try something like var_dump($user) to see the whole object
// $list refers to a particular list and is the variable used
// this way you can target a particular list
$display_list[] = “replace text”; // this is the text that is
return $display_list;
}
?>
define("PEOPLE_LIST_VISUAL_EDITOR", false);
to wp-config.php