=== ID Team Members ===
Contributors: insightdezign
Tags: team members, staff, team grid, team page, employee directory
Requires at least: 5.0
Tested up to: 6.9
Stable tag: 1.5.0
Requires PHP: 7.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Display team members in a beautiful responsive grid with lightbox overlay, contact info, and social media links.

== Description ==

ID Team Members is a powerful WordPress plugin for creating and displaying team member profiles in a responsive grid layout. Perfect for organizations, agencies, and businesses that want to showcase their team with professional-looking member cards and detailed lightbox overlays.

= Key Features =

* **Custom Post Type** — Dedicated Team Member post type with all the fields you need
* **Responsive Grid** — Choose 3 or 4 columns, fully responsive down to mobile
* **Lightbox Overlay** — Click any member to see their full bio, contact info, and social links
* **Contact Information** — Phone and email with FontAwesome icon links
* **Social Media** — Website, Facebook, Twitter/X, LinkedIn, and Instagram links
* **Team Groups** — Organize members into groups (Board, Staff, etc.) with custom taxonomy
* **Image Styles** — Color or black & white with color on hover
* **Image Shapes** — Square or circle member photos
* **Sort Options** — Custom order, alphabetical by last name, or date added
* **Name Splitting** — Optionally display names on two lines
* **Box Styles** — White or alternating light gray backgrounds
* **Keyboard Navigation** — Arrow keys and Escape in lightbox
* **WPBakery Integration** — Full drag-and-drop support in WPBakery Page Builder
* **Theme Colors** — Customize primary and accent colors with built-in color picker
* **Global Settings** — Configure defaults that apply site-wide
* **Shortcode Overrides** — Override any setting per-shortcode instance

= Shortcode Usage =

Display all team members:
`[our_team]`

Filter by group:
`[our_team group="board"]`

Full control:
`[our_team members_per_row="3" image_style="bw" image_shape="circle" orderby="title" order="ASC" show_company="yes" show_contact="yes" show_social="yes" split_name="yes" box_style="gray"]`

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/id-team-members` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Go to Team Members > Add New to create your first team member.
4. Use the `[our_team]` shortcode to display team members on any page.
5. Configure default display options under Team Members > Settings.

== Frequently Asked Questions ==

= How do I control the display order? =

Use the Order field in the Page Attributes box when editing a team member. Lower numbers appear first. You can also sort alphabetically by last name or by date added.

= Can I show different groups on different pages? =

Yes! Use the group attribute: `[our_team group="board"]` on one page and `[our_team group="staff"]` on another.

= How does the name splitting work? =

When enabled, the plugin splits names at the middle space to display on two lines. For example, "Jane Smith" becomes "Jane" on line one and "Smith" on line two.

= What happens when I click a team member? =

A lightbox overlay opens showing their full profile including photo, bio, contact information, and social media links. Use arrow keys to navigate between members.

= Does this work with page builders? =

Yes, the plugin includes WPBakery Page Builder integration with a dedicated element that exposes all shortcode options.

= Can I hide contact info or social links? =

Yes, both globally via Settings and per-shortcode with `show_contact="no"` and `show_social="no"`.

== Screenshots ==

1. Team members grid layout with 4 columns
2. Lightbox overlay showing full member details
3. Team member edit screen with meta fields
4. Plugin settings page
5. Black and white image style with circle shape

== Changelog ==

= 1.5.0 =
* Added Primary Color and Accent Color settings with WordPress color picker.
* Replaced hardcoded theme colors with CSS custom properties for dynamic theming.

= 1.4.1 =
* Escaped all translatable output for Plugin Check compliance.
* Added wp_unslash() and sanitize_callback for security hardening.
* Removed deprecated load_plugin_textdomain() and external Font Awesome CDN.
* Updated Tested up to 6.9.

= 1.4.0 =
* Renamed all prefixes to idtm for conflict prevention.
* Added automatic data migration from previous versions.
* Added minified assets with SCRIPT_DEBUG support.
* Added activation checks, translation support, and uninstall cleanup.

= 1.3.1 =
* Fixed lightbox navigation buttons causing horizontal scrollbar.

= 1.3.0 =
* Added split name and image shape options.

= 1.2.0 =
* Renamed from FH Team Members to ID Team Members.
* Added lightbox overlay, keyboard navigation, and website field.

= 1.1.0 =
* Added contact info, social media, FontAwesome, and global settings.

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.4.0 =
All option and meta key prefixes have been updated. Your existing data will be automatically migrated on first load.

== Additional Information ==

= Support =

For support, please visit https://insightdezign.com or email support@insightdezign.com

= Credits =

Developed by Insight Dezign - Professional WordPress Development Services
