=== imnrz Staff Directory ===
Contributors: imnrz
Author URI: https://imnrz.com/
Plugin URI: https://imnrz.com/plugins/imnrz-staff-directory/
Tags: staff directory, employee directory, org chart, organization chart, team members
Requires at least: 6.2
Tested up to: 7.0
Requires PHP: 8.1
Stable tag: 1.6.1
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Staff & employee directory with org chart, unlimited department hierarchy, and table, grid & card layouts. Contact fields protected from scraping.

== Description ==

**imnrz Staff Directory** is a modern staff and employee directory plugin for WordPress. Build a searchable company or organization directory, map your full org chart with an unlimited department hierarchy, and present your team in premium table, grid or card layouts — no coding required.

Perfect for companies, government agencies, universities, schools, non-profits and any organization that needs to publish a professional team or staff listing.

= Key features =

* **Unlimited organization hierarchy** — departments, units, sections and sub-units to any depth.
* **Drag-and-drop org structure builder** — arrange your org chart visually, with a keyboard-accessible fallback.
* **Three front-end layouts** — switch between Table, Grid and Card views from a modern view switcher.
* **Powerful search & filtering** — visitors can search by name and filter by organization unit.
* **Customisable staff fields** — job title, email, phone, extension, employee ID, location, reports-to, start date, status and more. Choose exactly which fields appear.
* **Anti-scraping contact protection** — email addresses and phone numbers are rendered as images so bots and spam harvesters cannot read them from the HTML.
* **Privacy first** — personal fields can be hidden from logged-out visitors, with built-in GDPR/PDPA data export and erasure support.
* **Table styling options** — full width, Bootstrap/striped/bordered styles, and custom header, text and border colours.
* **Shortcode & archive** — use the `[imnrzsd_staff_directory]` shortcode anywhere, or the automatic staff archive page.
* **Developer friendly** — clean templates that any theme can override, plus filters and actions to extend behaviour.

Built by [imnrz](https://imnrz.com/).

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/imnrz-staff-directory` directory, or install the plugin through the WordPress **Plugins** screen.
2. Activate the plugin through the **Plugins** screen in WordPress.
3. Go to **Staff → Settings** to choose your default layout, visible fields and privacy options.
4. Add staff members under the **Staff** menu and organise them with **Staff → Org Structure**.
5. Place the `[imnrzsd_staff_directory]` shortcode on any page, or visit the automatic staff archive.

== Frequently Asked Questions ==

= How do I display the directory on a page? =

Add the `[imnrzsd_staff_directory]` shortcode to any page or post. You can also visit the automatic staff archive at `/staff/`.

= Can visitors switch between table, grid and card views? =

Yes. A view switcher lets visitors choose Table, Grid or Card layouts. You can set the default under **Staff → Settings**.

= How are email addresses and phone numbers protected? =

They are rendered as images instead of plain text, so automated scrapers reading the page source cannot collect them.

= Can I hide personal information from the public? =

Yes. Personal fields such as email, phone and employee ID can be hidden from visitors who are not logged in.

= Can my theme override the templates? =

Yes. Copy any template from the plugin's `templates/` folder into a `staff-directory/` folder in your theme.

== Screenshots ==

1. Staff directory archive with the table, grid and card view switcher.
2. Premium card layout.
3. Drag-and-drop organization structure builder.
4. Settings screen with layout, fields and privacy options.

== Changelog ==

= 1.6.1 =
* Changed: all functions, options, meta keys, capabilities, shortcodes and handles now use the unique `imnrzsd`/`IMNRZ_Staff_Directory` prefix.
* Changed: the shortcodes are now `[imnrzsd_staff_directory]` and `[imnrzsd_staff_member]`.
* Improved: named sanitize callbacks for every registered setting.

= 1.6.0 =
* New: full-page staff archive with a Table / Grid / Cards view switcher.
* New: premium, modern styling across the directory, cards and profiles.
* New: email and phone rendered as images to prevent scraping.
* New: option to show or hide the Org Unit column, and table style/colour options.
* New: back buttons on the profile and unit archive pages.
* Improved: redesigned org structure builder UI and fixed the drag-handle overlap.

== Upgrade Notice ==

= 1.6.1 =
Renames the shortcodes to [imnrzsd_staff_directory] and [imnrzsd_staff_member] and prefixes all stored data.

= 1.6.0 =
Adds the front-end view switcher, anti-scraping contact protection and a refreshed premium design.
