How to Create a Searchable Member Directory in WordPress

Are you looking to add a member directory to your WordPress website?

Adding a directory to your membership site can help boost your community engagement. It encourages new members to join and make it easy for them to reach out to each other.

In this article, we will show you how to create a searchable member directory in WordPress.

How to Create a Searchable Member Directory in WordPress

Why Create a Searchable Member Directory in WordPress?

A membership site often brings together users who share common interests. You can create a sense of community on your WordPress website by making it easy for your members to communicate with one another about their shared interests.

You can do this by creating a membership directory. This is a searchable list of the members on your site. It allows your members to see other members’ profiles and contact details.

Member Directory Example

This will boost your website’s credibility and make it more valuable to your members. It may even help your members feel important and recognized.

However, to protect their privacy, you may want to require each member to opt in before their personal information is displayed in the directory.

If you haven’t yet created your membership site, then you can follow our ultimate guide on creating a WordPress membership site.

While you can use any method to create a membership site, we recommend the MemberPress plugin. It offers advanced membership features and integrates well with the Formidable Forms Directory addon used in this tutorial.

How to Create a Searchable Member Directory in WordPress

The best way to create a member directory is by using the Formidable Forms plugin. It comes with advanced features that let you format, filter, and display user-submitted data on the front end of your website, including your members’ profile information.

It is one of the best user registration plugins for WordPress on the market and can help you easily create a member directory using an addon. Plus, it integrates with MemberPress to give you complete control over your directory’s appearance and functionality.

Formidable Forms

You can use Formidable Forms to create a profile form where members can enter their information and opt in to the directory. You can also use it to display the searchable member directory itself.

Besides that, you will also be able to use Formidable Forms for all sorts of other purposes on your website, such as creating a booking form or web directory, allowing your clients to request a quote, and more.

With that in mind, let’s see how to create a searchable member directory using the Formidable Forms plugin.

1. Installing Formidable Forms on Your Membership Site

The first thing you need to do is install and activate Formidable Forms Lite, which is the free version of the plugin. Formidable Forms Lite acts as the base for the advanced features of the Pro version.

For more details, you can read our guide on how to install a WordPress plugin.

Next, you will need to visit the Formidable Directory page and click the ‘Get Formidable Directory’ button. You will then be prompted to purchase the Elite plan, which includes the Directory addon.

The Formidable Forms Directory Page

Before leaving the Formidable website, you will need to copy your license key. You can find it by clicking ‘Account’ at the top of the page.

Now return to your website and navigate to Formidable » Global Settings. Once there, simply click the link that says ‘Click to enter a license key manually’ to paste your license key and then click the ‘Save License’ button.

Enter Formidable Forms license key

You are now ready to create a member directory in WordPress.

2. Creating the Formidable Member Directory Application

Next, you must navigate to Formidable » Applications from the WordPress admin sidebar. This page will show you the available application templates.

Once there, you need to find the Member Directory application and click the ‘+ Add’ button to install it.

Adding the Member Directory Application

This will open a popup that describes the Member Directory application.

Simply click the ‘Install Application’ button to continue.

Installing the Member Directory Application

Next, you will be asked to give the application a name.

For this tutorial, we will leave the default name, ‘Member Directory’, and then click the ‘Install Application’ button to continue.

Naming the Member Directory Application

Formidable Forms will now create the pages, forms, and views needed for your member directory. The pages are saved as drafts, so you can customize them before they go live.

Opening the Member Directory Application

Now you need to click the ‘Open Application’ button. This will open the Member Directory application page, where you can customize and publish your directory.

You have now created a ‘User Directory Profile’ form that your members can fill out on the ‘Add a Member’ page.

There is also a ‘Member Directory’ page where you can view the directory in a table view or grid view.

3. Customizing the Member Profile Form and ‘Add a Member’ Page

Next, you may wish to add or remove some fields from the ‘User Directory Profile’ form. This is the form that your members must fill in to be included in the directory.

You may also want to add some instructions to the page where the profile form is displayed before you publish it.

Customizing the ‘User Directory Profile’ Form

The ‘User Directory Profile’ form contains all of the fields needed for most member profiles. You can customize it by clicking the ‘User Directory Profile’ link or hovering your mouse over it and then clicking on ‘Edit’.

Customizing the User Directory Profile Form

This will open the form editor. You will see a preview of the form on the right and the available fields on the left.

The form includes contact details, social links, and more. Some of the fields will be filled in automatically using information from the member’s WordPress user profile. This includes their name, email address, and bio.

The Formidable Form Editor

To add new fields, simply drag them onto the form from the ‘Add Fields’ column on the left.

You can change the options of a field by clicking on it. This will open the ‘Field Options’ tab on the left, where you can customize the field by changing its settings.

Customizing the Email Address Field Options

You will find options for the field’s default value in the ‘Advanced’ section. Here you can choose the default value from a list of smart tags. This will take information that the user has already added to their WordPress profile so that it doesn’t have to be entered twice.

When you scroll to the bottom of the form, you will notice it already includes fields for social links and an option where the member can choose to be included in the directory.

Click the Save Profile Button When Finished

Once you have finished customizing the form, simply click the ‘Save Profile’ button to store your changes.

Customizing the ‘Add a Member’ Page

Next, you will need to customize and publish the ‘Add a Member’ page that will display the profile form on your website.

You may need to navigate back to Formidable » Applications » Member Directory to see the page. Then, simply click the ‘Add a Member’ link, or hover over it and click ‘Edit.’

Opening the 'Add a Member' Page

This will open the ‘Add a Member’ page in the WordPress content editor. It simply contains the page title and the Formidable form that you were just looking at.

If you like, you can give the page a different title, such as ‘Join Our Member Directory’.

If you would like to add some instructions before the form, then you should click on the page title and press the Enter key. This will create a new block where you can type those instructions.

Publishing the Add a Member Page

When you are happy with the page, then simply click the ‘Publish’ button at the top of the screen to push the page live on your website.

4. Customizing the ‘Member Directory’ Page

Now you can customize and publish the member directory itself. You will need to choose whether to display the members in a grid or table. Then, you must also publish the page so that it is visible on your website.

Customizing the ‘Member Directory’ Page

First, just go back to Formidable » Applications and click on your member directory application.

You will need to publish the draft ‘Member Directory’ page. However, before doing that, you can decide whether that page should display the directory in a grid or table format.

Editing the Member Directory Page

Simply click on the ‘Member Directory’ page to open it in the WordPress editor.

The page contains just the title and the following shortcode that displays the directory:

[display-frm-data id=dir-two-col-grid]
Shortcode to Display the Directory as a Grid

By default, the shortcode will display the directory in a two-column grid.

You can preview the page to see how it will look.

Member Directory Displayed in a Grid

Alternatively, you can display your member directory in a table format.

To do that, you will need to use this shortcode instead:

[display-frm-data id=dir-table-listing-view]
Shortcode to Display the Directory in a Table

You can preview the page again to see the changes.

This time each member will be displayed on a single line with their information in columns.

Member Directory Displayed in a Table

Whichever shortcode you choose, clicking on ‘View Profile’ will show you more detailed information about that member.

Viewing a Member Profile

If you like, you can add additional content to the page. Just make sure to click the ‘Publish’ button to push your member directory live on your website when you are finished.

Adding the Member Directory Pages to Your Navigation Menu

You can make it easier for your members to find or join the directory by adding the ‘Add a Member’ and ‘Member Directory’ pages to your website’s navigation menu.

Simply follow our guide on how to add specific posts to the WordPress navigation menu.

Restricting the Member Directory to Members Only

Also, depending on the type of membership site you have, you may want only your logged-in members to be able to see the ‘Add a Member’ and ‘Member Directory’ pages.

If so, then you will need to create a rule so that only members get access to the pages.

We show you how to do that step by step in our ultimate guide on creating a WordPress membership site. You will just need to scroll down and read Step 6 to learn how to create a MemberPress rule and Step 7 to learn how to add members-only content.

5. Deleting the Sample Data in Your Member Directory

Your member directory contains the sample data that you can see in the screenshots used in this tutorial. This is helpful when setting up your member directory because it lets you see how the profiles will look.

But once you have finished setting up the directory, you will need to delete the sample data.

You need to navigate back to Formidable » Applications » Member Directory and click on the ‘User Directory Profile’ form.

Once the Formidable editor opens, click on the ‘Entries’ tab at the top of the screen to view the sample entries.

Most likely, the only entries listed will be the four sample members. In that case, simply click the ‘Delete All Entries’ button at the top of the screen. All members listed will be deleted.

Deleting Sample Data From the Directory

However, if some of your real members have already created profiles, you must select the sample entries manually.

To do this, you will need to click the checkbox next to each sample member. Next, click the ‘Bulk Actions’ button at the top of the list and select ‘Delete’ from the drop-down menu.

Finally, click the ‘Apply’ button to delete the sample data. Your member directory will now only contain profiles from your real members.

We hope this tutorial helped you learn how to create a searchable member directory in WordPress. You may also want to see our guide on how to create and sell online courses with WordPress or our expert picks for the best contact forms for WordPress.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Create a Searchable Member Directory in WordPress first appeared on WPBeginner.

How to Create a Web Directory in WordPress (Step by Step)

Do you want to create a web directory in WordPress?

Web directories allow you to make money from content that’s submitted by the people who visit your website.

In this article, we will show you how you can create a web directory in WordPress, and even how to accept payments for posting premium web listings.

How to create a web directory in WordPress

Why Create a Web Directory in WordPress?

A web directory is like a catalog that lists businesses or individuals.

You can find information such as their location, business email address, and the services they offer.

An example web directory

Yellow Pages, Angi, and Yelp are all examples of popular web directories that help people find a place or service.

To help visitors find what they’re looking for, these popular directories often divide their content using topics, categories and tags, interests, and other characteristics, as you can see in the following image.

The Yelp business directory

Web directories are a popular online business idea and a great way to make money online from user-generated content.

Often, you’ll find tutorials that show you how to create a directory using a web directory theme. However, this locks you into the theme forever. Instead, we recommend installing a web directory plugin that you can use with any WordPress theme you want.

With that in mind, let’s take a look at how to create a web directory in WordPress. Simply use the quick links below to jump straight to the method you want to use.

Method 1: Create a Directory Using Business Directory Plugin

This method is easiest and is recommended for most users. We will be using the Business Directory plugin. This WordPress directory plugin has everything you need to create a simple business directory.

There’s also a free version of Business Directory plugin available, but you will need to upgrade to access the more advanced features.

First, you’ll need to install and activate the plugin. If you need help, then please see our guide on how to install a WordPress plugin.

After activating the plugin, go to Directories » Settings. You will now see a popup asking your permission to create a new page.

The Business Directory plugin needs this page to work properly, so go ahead and click on ‘Create required pages for me.’

Creating a web directory using a plugin

The plugin will now create a new paged called ‘Business Directory.’

By default, this page has all the controls visitors need to look through your different listings, and submit their own listings.

The Business Directory WordPress plugin

To start, it’s a good idea to check the plugin’s settings by going to Directory » Settings.

Here, you’ll find different sections:

  • Listings
  • Email
  • Payment
  • Appearance.

We recommend selecting each tab and then looking through the settings, to see whether you need to make any changes.

For example, in ‘Listings’ you can change how many listings the plugin shows on each page.

The Business Directory settings page

When you’re finished, don’t forget to click on ‘Save Changes’ to store your settings.

Business Directory has a standard form that it shows to visitors. You can customize that form by going to Directory » Directory Content.

In the left-hand menu, click on ‘Form Fields.’

Changing the fields in your online directory form

This screen shows all the fields that make up the standard form.

To change where a field appears in your form, simply click on the little up and down arrows in the ‘Order’ column.

Changing the order of the fields in your form

To remove a field, hover your mouse over it and then click on the ‘Delete’ link when it appears.

Finally, if you want to make some changes to a particular field then hover your mouse over it and then click on the ‘Edit’ link.

Editing the form fields in WordPress

This opens a page where you can change the field label, mark the field as mandatory, add an optional description, and more.

When you’re finished, don’t forget to click on the ‘Update Field’ button to save your changes.

How to customize the form fields

Next, it’s a good idea to create some categories that people can use when submitting their listings. These categories will also help visitors browse your directory and find what they’re looking for.

By default, this plugin has a single ‘General’ category, but you can add more by clicking on the ‘Categories’ tab. Then, go ahead and select ‘Add New Category.’

Adding new categories to your online directory

In the popup that appears, type in a name for the category.

You can also organize your categories into child-parent relationships, similar to child pages in WordPress. To turn a category into a subcategory, just open the ‘Parent Category’ dropdown and choose a parent.

Organizing the directory categories

To create the category, go ahead and click on ‘Add New Category.’

You can add more categories to your business directory, by repeating the same process described above.

Now, visitors can create a new listing by heading over to your Business Directory page and clicking on the ‘Add Listing’ button.

Adding listings to your WordPress website

This takes them to a screen where they can type in all the information for the listing.

Then, they simply need to click on the ‘Complete Listing’ button at the bottom of the page to submit their listing.

Submitting listings to an online directory

Every time a visitors submits a listing in this way, you’ll need to manually approve it. To do this, head over to Directory » Directory Content in your WordPress dashboard.

You will now see a list of pending listings.

Approving visitor submissions

To take a closer look at a listing, simply hover your mouse over it and then click on the ‘Preview’ link when it appears.

This will open the listing in a new tab.

How to approve user-submitted content

To make any changes to the listing, once again hover your mouse over the listing but this time click on ‘Edit.’

You can now make any changes you want. When you’re happy with how it looks, click on the ‘Publish’ button.

How to publish a business listing

As a WordPress admin, you can also create listings in the dashboard. For example, you might want to create listings for your partners, so they don’t have to do the work themselves.

To create a listing, go to Directory » Directory Content and then click on ‘Add New Listing.’

Adding listings to an online directory

This opens a screen where you can type in all the information.

When you’ve finished, click on ‘Publish’ to make the listing live.

How to publish listings to your WordPress website

Accepting Payments for Directory Listings

The Business Directory plugin allows you to accept payments for publishing a listing. By default, the plugin only supports the Authorize.net payment gateway, but you can add other gateways like PayPal, Stripe, Payfast, as part of their Pro version.

To set up Authorize.net, go to Directory » Settings, and then click on the ‘Payment’ tab.

Adding a payment gateway to your WordPress website

You can then go ahead and select ‘Authorize.net.’ Here, click on the ‘Enable Authorize.net’ switch so that it turns active.

This adds some new settings where you can type in the login ID and transaction key for your Authorize.net account.

How to enable the Authorize payment gateway

Once you’ve done that, click on the ‘General Settings’ tab.

If you’re not ready to start accepting payments yet, then make sure to enable ‘Put payment gateways in test mode?’

Testing your payment gateway

By default, the plugin accepts payments in dollars, but you can select a different currency using the ‘Currency’ dropdown.

You can also type in a different thank you message, which will be shown to users when they send you a payment.

When you’ve finished configuring the payment settings, don’t forget to click on ‘Save Changes’ to store your settings.

Before you can accept payments, you’ll also need to create at least one payment plan. To start, click on ‘Plans’ in the left-hand menu.

How to monetize your business directory

The plugin comes with a free plan and a default plan, which is $1.00 for 365 days.

To change either of the plans, simply hover over it and then click on the ‘Edit’ link.

Adding plans to your web directory

This takes you to a screen where you can make all kinds of changes to the plan.

This includes changing the price, or even creating different prices for specific categories.

How to edit your business directory

When you’re happy with the changes you’ve made, don’t forget to click on the ‘Save Changes’ button to make your plan live.

Method 2: Creating a WordPress Directory with Formidable Forms

The second method to create a business directory is by using Formidable Forms.

It is the most advanced WordPress form builder plugin in the market and helps you to create lots of different forms including surveys, payment forms, booking forms, and more.

Formidable Forms also comes with a powerful ‘Visual Views’ feature that you can use to display user-submitted data on your website. Using this feature, you can easily create directories, real estate listings, job boards, event calendars, and more.

With that in mind, let’s create a business directory using the Formidable Forms plugin.

1. Create a Form to Collect Data for Your Directory

First thing you need to do is install and activate the Formidable Forms plugin. For detailed instructions, see our guide on how to install a WordPress plugin.

Upon activation, you’ll need to install Formidable Forms Lite. This free plugin provides the core foundation for the premium plugin’s more advanced features.

Once you’ve done that, go to the Formidable Forms » Global Settings page and select ‘Click to enter a license key manually.’

Enter Formidable Forms license key

You can find the license key under your account on the Formidable Forms website.

After entering this information, go ahead and click the ‘Save License’ button.

Many website owners charge visitors to submit a listing. If you want to create a premium web directory and accept credit card payments, then you’ll need to install an addon and set up a payment gateway.

Formidable Forms can collect payments with PayPal, Stripe, or Authorize.net.

In this guide, we will show you how to accept payments using PayPal, but the steps will be similar for other payment gateways.

In your WordPress dashboard, go to Formidable » Add-Ons. In the ‘PayPal Standard’ section, click on ‘Install.’

The PayPal addon for Formidable Forms

Later in this guide we’ll use ‘Visual Views’ to display all the information that visitors enter into our form.

With that in mind, find the ‘Visual Views’ addon and click on its ‘Install’ button, as we’ll need this addon later.

Installing the Visual Views addon

Once you’ve done that, head over to Formidable » Global Settings.

Then, select ‘PayPal’ in the left-hand menu.

Setting up PayPal for your web directory

On this screen, type in the email address that’s linked to your PayPal account. You can also change the currency and the URLs that will load after a visitor completes their payment or cancels their order.

After entering this information, click on the ‘Update’ button to save your changes.

How to build a web directory with WordPress

Now you’re ready to create a form by heading over to the Formidable » Forms page.

Here, click on ‘Add New.’

Adding a new form to your WordPress website

This will bring up a list of all the form templates that you can use.

In this guide, we’ll be creating a real estate directory so click on the ‘Real Estate’ category.

The real estate listing template

You can now see all of the different templates within this category, including multiple mortgage calculator templates.

To preview a template, just hover your mouse over it and then click the little icon that looks like an eye.

Previewing a form template

To use a template, just hover over it and then click on the ‘+’ icon.

One you’ve done that, type a title into the ‘Form Name’ field and enter an optional description. This information is just for your reference so you can use anything you want.

Then, click on the ‘Create’ button.

Creating a WordPress form

This will open the template in the Formidable Forms editor.

From here, you can simply point and click to customize any field in the form. For example, you might click on the ‘Brief Blurb’ field and then type some new text into ‘Field Label.’

Customizing your web directory in WordPress

You can also add more fields by selecting ‘Add Fields’ in the left-hand menu.

Then, drag any of the fields onto the form layout. For example, you may want to add a field where the visitor can type in their name.

Adding fields to a WordPress form

To continue customizing the template, simply repeat these steps.

When you’re happy with how the form is set up, click the ‘Update’ button at the top right corner of the screen.

If you want to collect payments, then you’ll need to add an action to your form. To do this, click on the ‘Settings’ tab and then select ‘Actions & Notifications.’

After that, click on ‘PayPal’ to add the action to your form.

Adding actions to the web directory form

Next, scroll to the ‘PayPal’ section.

We want to charge visitors a flat fee for creating a new listing, so click on ‘Set Amount.’

Adding a payment method to your web directory

You can now type in how much you want to charge.

You can also choose whether to make this a one-off payment, a donation, or a recurring payment using the ‘Payment Type’ dropdown.

How to create a premium web directory

If you select ‘Subscription’ then you can use the controls to specify how often the person will be charged.

In this way, you can earn money from your listings over the long-term. You can also offer customers a free trial.

Add recurring revenue payments to a web directory form

Once you’ve finished configuring PayPal, don’t forget to click on ‘Update’ to save your changes. Now, visitors will need to make a payment before they can submit the form.

2. Publish Your Form in WordPress

When you’re happy with your form, it’s time to publish it on your website by adding it to any post or page.

We’re going to add the form to a new page by heading over to Pages » Add New in the WordPress dashboard. You can now give this page a name, upload a featured image, and add any other content that you want to show on the page.

After that, click on the ‘+’ icon and type in ‘Formidable Forms.’

The Formidable Forms WordPress block

When the right block appears, give it a click to add it to the page.

Next, simply open the ‘Select a form’ dropdown and choose the real estate listing form.

Adding a form to your website using the WordPress block editor

Formidable Forms will then add the form to the post, and show a preview in the block editor.

When you’re ready to make the form live, go ahead and publish the page.

After that, it’s a good idea to add the page to your WordPress navigation menu so people can find it easily. You may also want to send a message to your email list so your audience know they can now submit listings to your website.

3. Build Your Web Directory with Formidable Views

Next, you’ll want to create a web directory so the user-submitted content appears on your WordPress website.

You can do this using the Visual Views feature, so head over to Formidable » Views and then click on ‘Add New.’

How to create a business directory in WordPress

A popup will now show the different layouts that you can use for your directory.

Just click on ‘Classic’ as this allows you to create a new layout from scratch.

The Formidable Visual Views addon

On the next screen, open the ‘Use Entries from Form’ dropdown and choose the real estate form we created earlier.

Formidable Forms will give your view a name based on the form you’re using as the data source. However, you can change this if you want.

Choosing a data source

When you’re happy with the information you’ve entered, click on ‘Create a view.’

You can now type in any information that you want to appear above and below the listings. For example, you may want to add your contact information at the bottom of the page or type out a short introduction.

To do this, simply click on ‘Add Before Content’ or ‘Add After Content.’

How to display user-submitted data on your WordPress website

This will open a popup where you can type in any text that you want to show above or below your listings.

To the right, there are also some parameters that you can use. Formidable Forms will replace these parameters with real values on your website. For example, it will replace [siteurl] with your site’s URL.

Displaying data from user-submitted forms

When you’re happy with the information you’ve entered, click on ‘Update View’ to save your changes and return to the main view editor screen.

Once you’ve done that, you’re ready to create the layout for the different listings on the directory page. To get started, click on the middle ‘+’ icon.

How to design a web directory page

You can now type text into the main text editor, and select different parameters in the left-hand menu.

In the following image, we’re creating a simple layout that shows each property’s brief blurb, followed by the listing’s price and type.

Finally, we’ll show the full description.

Designing a web directory layout in WordPress

In the following image, you can see an example of how this simple layout will look on your WordPress website.

To expand on this very simple layout, just keep adding more parameters and plain text following the same process described above.

A real estate listing created using Formidable Forms

Chances are you’ll want to show a photo of each property. To do this, go ahead and click on the ‘Advanced’ tab of the ‘Customization’ box.

Then, click on ‘Show Image,’ which displays any images that visitors submit.

How to show a user-submitted image

While you’re working on your layout, you can preview how it will look to visitors by clicking on ‘Update View.’

This takes you back to the main editor, which shows a preview of the layout you’re creating.

How to preview the directory listing layout

When you’re happy with how the directory looks, you can add it to any page or post using the shortcode in the left-hand menu, under ‘View Name.’ Simply find this code and then click on its ‘Copy’ button.

For more details on how to place the shortcode, you can see our guide on how to add a shortcode in WordPress.

Once you’ve done that, simply visit the page or post to see the finished web directory.

An online web directory created using Formidable Forms

We hope this article helped you create a web directory using WordPress. You may also want to see our expert pick of the best email marketing services for small businesses, and see our ultimate WordPress SEO guide to improve your rankings.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Create a Web Directory in WordPress (Step by Step) first appeared on WPBeginner.