StaffList

Description

A very light-weight plugin, designed to easily create and manage a staff directory on your WordPress theme. Admins can manage staff records by importing (from CSV) or editing records individually. Record columns may be reordered (or hidden). Directory is sortable by column header, paginated, searchable, and customizable (by subset of records or number of records per page) using simple shortcode attributes.

Simple, Straight-Forward

The plugin is very light-weight, but robust. It allows for the individual management of staff directory records, or append/replace using a simple CSV (comma-separated variables) document.

  • Update five standard fields for each staff record (last name, first name, department, email, phone number)
  • Import from CSV or XLS allows administrators to keep their staff directory maintained, either by appending new records, or replacing the entire directory with an updated list
  • Fields are not required (and may be left blank) for general department mailboxes or numbers
  • Updates are performed on-the-fly, so no lengthy reloads are necessary
  • Design is split into separate stylesheet for ease of theming
  • No edit links or popups, just make your changes in-line
  • Case-insensitive substring search, with highlighted matches on front end
  • Uses jQuery/AJAX for page handling, sorting & searching without pageload (either on type, on enter, or both)
  • Tipsy is incorporated for contact cards, to display additional information about each StaffList record
  • StaffList can be placed into content editor using the shortcode [stafflist]
  • Multiple StaffLists are supported in a single page and are customizable by shortcode attribute (e.g.: [stafflist subset=”department:marketing”])

Screenshots

  • The backend directory manager, for adding or modifying records individually
  • The backend directory manager, for importing a full directory list from CSV
  • The backend directory manager, for choosing and ordering your columns
  • The contact card displays additional information about each contact record
  • Example of a directory search

Installation

  1. Install StaffList either via the WordPress.org plugin directory, or by uploading the files to your server (in the /wp-content/plugins/ directory).
  2. Activate the plugin.
  3. Create a staff record (or as many as you need)
  4. Insert the staff directory into your page using the shortcode [stafflist], or customize with the following shortcode attributes.

Shortcode Attributes

  • [stafflist] include all records with default rows per page
  • [stafflist rows=50] include all records with specified 50 rows per page
  • [stafflist subset=”department:marketing”] include only records that have “marketing” in the standard department column
  • [stafflist subset=”state:michigan”] include only records that have “michigan” in the non-standard state column
  • [stafflist subset=”building:a|b”] include only records that have “a” or “b” in the non-standard building column
  • [stafflist on=”enter”] perform the search when the enter key is pressed, instead of while typing (default)

FAQ

Installation Instructions
  1. Install StaffList either via the WordPress.org plugin directory, or by uploading the files to your server (in the /wp-content/plugins/ directory).
  2. Activate the plugin.
  3. Create a staff record (or as many as you need)
  4. Insert the staff directory into your page using the shortcode [stafflist], or customize with the following shortcode attributes.

Shortcode Attributes

  • [stafflist] include all records with default rows per page
  • [stafflist rows=50] include all records with specified 50 rows per page
  • [stafflist subset=”department:marketing”] include only records that have “marketing” in the standard department column
  • [stafflist subset=”state:michigan”] include only records that have “michigan” in the non-standard state column
  • [stafflist subset=”building:a|b”] include only records that have “a” or “b” in the non-standard building column
  • [stafflist on=”enter”] perform the search when the enter key is pressed, instead of while typing (default)
Are there any new features planned?

Yes. We plan to add a feature to use infinite scroll instead of page numbers.

Can i propose a feature?

If you wish. Sure.

Reviews

Great phonebook

This phonebook plugin is easy to use and brings a lot of cool features to the classic phonebook.

Thanks for that

The right tool for the job

Finally the right tool for the job we needed. When we had the server up and running, this script was fully loaded with all the data within 5 minutes after first install of WordPress. It’s very easy to modify to your needs, although I was a bit skeptical at first to do actually do this. Thank you for this amazing plugin! Will keep you updated on the changes / improvements I made on my side.

Works well

Our receptionist is in charge of our intranet too. So when we were looking to update the admin system for office news and events, it made sense that we’d put our company directory on there too. She already knows the ins and outs of WordPress so, updating our directory is easy! Great plugin.

Read all 8 reviews

Contributors & Developers

“StaffList” is open source software. The following people have contributed to this plugin.

Contributors

Translate “StaffList” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

2.3.6

  • Checks roles & capabilities on init;

2.3.5

  • Reorganized admin interface to put full directory first; Collapsible instructions panel; Add an individual staff record form now includes non-standard columns;

2.3.2

  • Fixed a bug that cleans and resets data-tables upon activation.

2.3.1

  • Updated pager for administrators.

2.3.0

  • StaffList now supports .xls/x import format, courtesy of PHPExcel Lib and recommendations by virgikins and gustavoo (thank you).

2.2.4

  • Modified CSV interpretation to support broadest range of UTf8 characters, per request by user virgikins and gustavoo (thank you).

2.2.3

  • Added shortcode to set search action on ‘type’, on ‘enter’, or on both (default), per request by user virgikins (thank you).

2.2.2

  • Defined a new role/capability for StaffList Editors, per request by user valdemaras (thank you).

2.2.1

  • Changed the INSERT from $wpdb->Insert to $wpdb->Query with prepared query to fix a bug brought up by blastiu17 (thank you).

2.2.0

  • Introducing subsets! StaffList now gives users control over which records are included in each instance of the directory using simple shortcode attributes. Multiple StaffLists can also be added in a single WordPress page.

2.1.4

  • Fixed an issue with sorting by custom columns; per pawlaz (thank you).

2.1.3

  • Changed PHP4-style constructor to PHP7; per recommendation by NetzzJD (thank you).

2.1.2

  • New admin feature to search the full directory; per recommendation by gustavoo (thank you).

2.1.1

  • Replaced mysql_real_escape_string(); per recommendation by encweb (thank you).
  • Added white-space: nowrap; per recommendation by digitlbill (thank you).

2.1

  • Major release: This version allows admins to order columns by preference, and choose which will be visible in the StaffList directory (versus those in the contact card). All columns are searched, and there are now upto 10 custom columns in addition to the five standard columns. Please be advised that this version does require a rebuild of the database tables, and will clean out any directory data you currently have stored.

2.0.1

  • Bug Fix: Updated ajax_object to use ajaxurl

2.0.0

  • New release now supports CSV import to append or replace your staff directory
  • More intuitive front-end sorting by First Name, Last Name, Department and Email Address
  • Better responsive style for narrower content areas
  • Added support for up to 9 custom columns (e.g.: Title, Building, Room) that are also searchable
  • Contact card now has hover to show additional columns

1.0.6

  • Minor change to allow multiple stafflist instances per page (for responsive view, perhaps). Testified/Verified Compatibility with WordPress 4.4.1

1.0.5

  • Testified/Verified Compatibility with WordPress 4.3

1.0.4

  • Update to fix interference with paging styles from some themes.

1.0.3

  • Testified/Verified Compatibility with WordPress 4.2.2

1.0.2

  • Added donate link 😉

1.0.1

  • Added new plugin icons.

1.0

  • StaffList now in official release.

0.96

  • Fixed issue with users pressing enter on a realtime search.

0.95

  • Adjusted pager to allow for user config of # records/page.
  • define(‘RECORDS_PER_PAGE’, 25); //stafflist.php

0.94

  • Improved styles.

0.93

  • Improved styles.

0.92

  • Added a banner image.

0.91

  • Added a new screenshot to show the regex search results

0.9

  • Plugin-out only in beta, currently. Standby for official release.