h-enk/team-members-free

WordPress plugin that displays your team members in a simple and flexible way.

Installs: 24

Dependents: 0

Suggesters: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:wordpress-plugin

1.0.0 2018-12-14 15:43 UTC

README

Packagist Build Status

WordPress plugin that displays your team members in a simple and flexible way.

Features

  • Add Team Members (custom post type) - Image, Name, Role and Description
  • Add Roles (custom taxonomy) - Name
  • Supports Classic Editor and Block Editor
  • Show Team Members
    • All Team Members - shortcode [team-members]
    • Team Members with a specific role - shortcode [team-members role="role-term-slug"]
  • No frontend stylesheet loaded - available classes: team-member-image, team-member-name, and team-member-role
  • Use custom team members template

Requirements

  • PHP >= 5.6
  • Wordpress >= 4.9.8

Installation

You can install this plugin via the command-line or the WordPress admin panel.

via Command-line

If you're using Composer to manage WordPress, add Team Members to your project's dependencies.

composer require h-enk/team-members-free

Then activate the plugin via wp-cli.

wp plugin activate team-members-free

via WordPress Admin Panel

  1. Download the latest zip of this repo.
  2. In your WordPress admin panel, navigate to Plugins->Add New
  3. Click Upload Plugin
  4. Upload the zip file that you downloaded.

Usage

  • Add Team Members and Roles
  • Insert shortcode [team-members] or [team-members role="role-term-slug"] in your page.

Styling

Define the available classes in your themes' stylesheet: team-member-image, team-member-name, and team-member-role

Use custom template

The [team-members] shortcode includes the template from templates/shortcode-team-members.php. If you'd like to use a custom template, copy shortcode-team-members.php into the templates/ directory in your theme and also implement the following example snippet:

/**
 * Custom [team-members] shortcode template
 */
function custom_team_members_template() {
  return get_template_directory() . '/templates/shortcode-team-members.php';
}
add_action('team_members_template', 'custom_team_members_template');