Help & Instructions

This page includes all kinds of helpful tips for getting you up and running.

Contents:

  1. Adding a New Staff Member
  2. Editing a Staff Member
  3. Deleting a Staff Member
  4. Outputting Staff Members
  5. Searching Staff Members
  6. Advanced Search (PRO)
  7. Import & Export (PRO)

Adding a New Staff Member

Adding a New Staff Member is easy! There are 3 ways to start adding a new Staff Member

How to Add a New Staff Member

  1. Click on "+ New" -> Staff Member, from the Admin Bar or
  2. Click on "Add New Staff Member" from the Menu Bar in the WordPress Admin or
  3. Click on "Add New Staff Member" from the top of the list of Staff Members, if you're viewing them all.

New Staff Member Content

You have a few things to pay attention to:

Editing a Staff Member

This is as easy as adding a New Staff Member!

  1. Click on "Staff Members" in the Admin Menu.
  2. Hover over the Staff Member you want to Edit and click "Edit".
  3. Change the fields to the desired content and click "Update".

Deleting a Staff Member

This is as easy as adding a New Staff Member!

  1. Click on "Staff Members" in the Admin Menu.
  2. Hover over the Staff Member you want to Delete and click "Delete". You can also change the Status of a Staff Member, if you want to keep it on file.

Outputting Staff Members

Searching Staff Members

By default, your Staff Members will appear along with your posts and pages in your search results. You can turn this off by unchecking the box for "Include Staff Members In Search Results" on your options page.

You might also like to show a search for for only your staff. To do that, simply add the shortcode [search_staff_members] to any page. This will output a search form that uses normal search form template from your theme (searchform.php), but the search will be restricted to only staff members.

Tip: you can also output the staff member search form by calling this PHP function in your code: <?php echo cd_get_staff_search_form(); ?>. You will probably want to replace all calls to get_search_form() with cd_get_staff_search_form() in your theme's search.php template (if you have one).

Advanced Search (PRO)

Company Directory Pro also includes an advanced search form, which lets your visitors search by first name, last name, and department (i.e., Staff Category).

To output the advanced search form, simply add the shortcode
[search_staff_members mode="advanced"] to any page.

If you'd like to customize the advanced search form, simply copy the file 'search-staff-members-form.php' from our plugins' "templates" folder into the root folder of your theme, and customize it to your liking. The plugin will automatically detect and use your custom template.

Tip: you can also output the advanced search form by calling this PHP function in your code: <?php echo cd_get_staff_search_form(true); ?>. You will probably want to replace all calls to get_search_form() with cd_get_staff_search_form(true) in your theme's search.php template (if you have one).

Import & Export Staff Members (PRO)

Company Directory Pro allows you to Bulk Import and Export your staff members, to save countless hours on data entry!

To import your Staff Members, first you must create a CSV file that contains matching columns to the CSV Headers listed below:
'Full Name','Body','First Name','Last Name','Title','Phone','Email','Address','Website','Categories','Photo'

Place the relevant data into each column, such as the member's name into the Full Name column. The Category column expects a list of Category ID's -- to obtain these, either use the Export tool (if moving from one site to another) or create the Categories ahead of time and manually insert the ID's, as needed.

To import photos, the photo to be imported must be available online (ie, you should be able to visit it in a web-browser.) Simply input the path to the photo, online, in the Photo column of your CSV and the Importer will automatically upload and attach the photo. This feature requires that your WordPress uploads directory be writeable.

To Export your Staff Members, simply click the Export Staff Members button and you're all set!