WPBeginner

Beginner's Guide for WordPress

  • Blog
    • Beginners Guide
    • News
    • Opinion
    • Showcase
    • Themes
    • Tutorials
    • WordPress Plugins
  • Start Here
    • How to Start a Blog
    • Create a Website
    • Start an Online Store
    • Best Website Builder
    • Email Marketing
    • WordPress Hosting
    • Business Name Ideas
  • Deals
    • Bluehost Coupon
    • SiteGround Coupon
    • WP Engine Coupon
    • HostGator Coupon
    • Domain.com Coupon
    • Constant Contact
    • View All Deals »
  • Glossary
  • Videos
  • Products
X
☰
Beginner's Guide for WordPress / Start your WordPress Blog in minutes
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

WPBeginner» Blog» Plugins» How to Create a Web Directory in WordPress (Step by Step)

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

Last updated on May 2nd, 2019 by Editorial Staff
312 Shares
Share
Tweet
Share
Pin
Free WordPress Video Tutorials on YouTube by WPBeginner
How to Create a Web Directory in WordPress (Step by Step)

Are you looking to create a business web directory? Web directories are a popular online business idea, allowing you to monetize your website with user-generated content.

Angie’s list, a popular web directory that helps homeowners find reliable contractors and service providers. They’re worth over 9 billion dollars.

Whether you’re looking to create a niche web directory to make money online, or a partners directory to list your vendors, you can easily do it in WordPress.

In this article, we will show how to easily create a web directory in WordPress. We will cover how to accept payments for your premium web directory listings.

How to Create a Web Directory in WordPress

What is a Web Directory?

A web directory is like a catalog that lists businesses or individuals with details such as contact information, services, features, etc.

Web directories allow users to browse through a catalog of links divided into topics, categories, and interest areas. A perfect example of a web directory is Yellow Pages or Angie’s List.

They are most commonly used to help people find a place or service they are looking for.

Another web directory example is Yelp which allows people to find great local businesses like restaurants, dentists, beauty salons, doctors, etc.

While there are several web directory themes for WordPress that allow you to create a web directory, we don’t recommend them because you will get locked into the theme forever.

This is why we will only show you plugin methods, so you can use it with any theme design that you want.

Having that said, let’s take a look at how to create a web directory in WordPress.

Method 1: Creating a WordPress Directory with Formidable Forms

Formidable Forms is the most advanced WordPress form builder plugin in the market. It helps you to create a simple contact form as well as advanced forms like surveys, payment forms, registration forms, and more for your WordPress site.

The plugin comes with an exclusive feature called ‘Views’ which lets you display any data submitted via a form on the front-end of your website. Using this feature, you can easily create directories, real estate listings, job board, event calendars, and more.

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 Formidable Forms plugin. For detailed instructions, see our guide on how to install a WordPress plugin.

Once the plugin is installed and activated, go to Formidable » Forms and click on ‘Add New’ button.

Add New Formidable Form

Now you can choose how you want to create a form. You can start with a blank form, with a template, or import one from an XML file.

Choose a Way to Add a New Formidable Form

We will choose the template method because it is the quickest way to make an advanced form. Formidable Forms offers more than 20 pre-made form templates out of the box.

For example, we will choose ‘Real Estate Listings’ to create a real estate directory. Click the ‘Create Form’ to get started.

Create Real Estate Form with Formidable Forms

You will see a popup box where you will be asked to enter your form name and description.

Name Your Formidable Form

After that, it will load the pre-built real estate submission form.

Formidable Forms - Form Builder Interface

You can review and customize the form using the simple drag and drop interface. Once done, click on the ‘Update’ button.

If you want to create a premium web directory with paid listings, then you’ll need to connect your form with a payment gateway.

Formidable allows you to collect payments with PayPal, Stripe, and Authorize.net.

In this example, we will show how to integrate PayPal to accept payments. Go to Formidable » Add-Ons from your dashboard and install the ‘PayPal Standard’ addon.

Install PayPal Standard Addon in Formidable Forms

Once the addon is installed and active, visit Formidable » Global Settings and click the PayPal option. Update your PayPal email address and other settings.

Set Up PayPal with Formidable Forms

After that, open your respective form editor again, and click the ‘Settings’ option at the top.

Form Settings - Formidable Forms

Next, click on the ‘Form Actions’ tab and then select the PayPal icon to add a new action.

Add PayPal Form Action to Formidable Forms

Now you need to configure the PayPal settings. Add a payment amount, choose a payment type (one-time payment, donation or subscription), select currency, and then add a return URL and cancel URL.

Formidable Payment Options with PayPal

Once done, don’t forget to Update your form.

Now that payment option is integrated, your users will need to make a payment before submitting a real estate property via your form.

2. Publish Your Form in WordPress

The next step after building a form is to publish it on your website, so users can submit their business details using it.

Visit Pages » Add New from your dashboard to create a new page. After that, name your page and add the Formidable Forms widget to the editor.

Add Formidable Form Widget to WordPress Page

Next, select your form.

Select Your Form to Add to a WordPress Page

After that, it will load the pre-built real estate submission form into your page editor.

You can also add some helpful content to the page. Once done, go ahead and publish your page.

Now you can add the submission form page to your WordPress navigation menu, or send an email campaign to your email list to get more form submissions.

The process of collecting data via a form may take some time, so it is better to make a plan before starting. Alternately, you can also create entries manually from your dashboard or import from a CSV file.

3. Build Your Web Directory with Formidable Views

After you have gathered plenty of information, you can create a web directory with the Formidable Views.

Navigate to Formidable » Views from your dashboard and click on the ‘Add New’ button.

Add New View in Formidable Forms

After that, enter a title for your view and choose the form which contains the data you want to display.

Formidable View Basic Settings

Next, you should choose the view format. You can show all entries in a list, a single entry, list the entries with a link to the single entry page, or insert entries into a calendar.

For this tutorial, we will choose ‘Both (Dynamic) – list the entries that will link to a single entry page’ option.

If you want to add a Search bar in your web directory, add the following shortcode into the ‘Before Content’ box.

[frm-search]

Add Search Bar in Your Formidable View

After that, you need to add content to your directory listing in the following format.

<div class="listing_info"> 
<a href="[detaillink]"><img src="[home-image size=thumbnail]" alt=""/></a>
</div> 
<div class="listing_list">
<strong><a href="[detaillink]">[MLS ID]</a></strong>
<strong>[address]</strong> <strong>$[listing-price]</strong> [blurb] 
[bedroom] Bedrooms | [bathroom] Bath |[sqft-living] sq. ft.</div> 
<div style="clear:both;"></div>

In the above code, you need to replace home-image, MLS ID, address, listing price, blurb, bedroom, bathroom, and sqft-living with the respective field IDs/keys from your form.

You can find the field IDs/keys in the Customization box on the right-hand side of the page.

Formidable Forms Filed Keys

For example, if we want to show the photo uploaded via ‘Main Photo Upload’ field as the home image, we need to replace the ‘home-image’ with the field ID ‘63’.

Insert Content Into Your Web Directory

After that, add the following code to into Formidable » Styles » Custom CSS to customize the appearance of your web directory.

 .listing_info{float:left; width:235px; margin-right:10px;} 
.listings_list img{width:370px;float:right;}

Add Style to Your Formidable View

Once done, you can publish your view and preview it.

After that, create a new page for the web directory and add your Formidable View to it.

Add Formidable View to a WordPress Page

Here is how your real estate directory would look with the default Twenty Nineteen theme.

Real Estate Web Directory Demo

You can further customize and style your Formidable directory by either using custom CSS, a drag & drop WordPress page builder plugin, or a styling plugin like CSS Hero.

Method 2: Using Business Directory Plugin

The second method is by actually using a Business Directory Plugin. Remember while the main plugin is free, a lot of functionality will require you to purchase the PRO version of the plugin.

Start by installing and activating the Business Directory Plugin. Upon activation, the plugin will ask your permission to create a new WordPress page and add the business directory shortcode inside it.

Click on the ‘Create required pages for me’ to create your directory page.

Create Required Pages for Business Directory Plugin

Once done, the Business Directory plugin will add a new page called ‘Business Directory’ automatically.

Business Directory Page Added in WordPress

You should not delete or hide this page because it is the primary page the Business Directory plugin uses to show a directory on your website.

Next, you can manage the plugin settings from the ‘Directory Admin’ menu in your dashboard.

Go to Directory Admin » Manage Options to configure your plugin’s main settings. The ‘General’ settings include permalink settings, directory search options, reCAPTCHA, registration options, and more.

Business Directory Plugin Settings

As you can see in the screenshot above, there are settings for Listings, Email, Payment, and Appearance. You can review all of them one by one and make changes as per your requirements.

After that, visit Directory Admin » Manage Form Fields to customize your form fields. From here, you can add or edit fields which would appear on your directory submission form.

Manage Form Fields in Business Directory Plugin

Next, you will need to create a few categories for your directory.

You can do this by going to Directory » Directory Categories. You will be required to create at least one category, so your users can use this category when submitting their listing.

Add New Directory Category with Business Directory Plugin

Once you have created the categories, you can go ahead and create a new listing by visiting Directory » Add New Listing.

Now you would see the Add New Listing page which looks similar to the Classic WordPress editor. Enter your listing title, and add a short description about your listing.

Add New Listing With Business Directory Plugin

After that, scroll down to ‘Directory Listing Fields/Images’ section and add your business details including website address, phone number, email, etc.

Fill out Directory Listing Fields manually

To add images, you will need to click on the Images link first. Then, you can upload images from your computer or simply drop in the image box.

Upload Image to Your WordPress Business Directory

Next, you will need to choose an appropriate category for your listing.

Choose Directory Category

Once done, you can go ahead and publish your directory.

Now you can preview your web directory page on your website. Your web directory would look like the screenshot below with the default WordPress theme Twenty Nineteen.

Business Directory Demo with Default WordPress Theme

As a site administrator, you can create a listing manually from your dashboard. Your users can also submit a listing in your directory using a form. The submission form can be accessed by clicking on the ‘Create A Listing’ button.

Submit a Listing with the Business Directory Plugin

The user-submitted listing items will be saved in the Directory » Directory page as pending listing, so you can manually review and check the listing for quality.

Pending Directory Listing

Once done, they will appear on your business directory page.

Accepting Payments for Directory Listings

Business Directory Plugin allows you to accept payments for listings in your web directory. By default, the plugin only comes with Authorize.net as the payment gateway.

Other payment gateways such as PayPal and Stripe are available as separate add-ons which you can purchase from the plugin’s website.

To enable payment options in your business directory, you need to go to Directory Admin » Manage Options page and click on the ‘Payments’ tab.

Business Directory Plugin Payment Settings

In the payment settings page, the first option on the Payment Settings screen is the checkbox to turn on payments. If your site is not fully ready yet, then you can click the checkbox next to Put payment gateways in test mode? option.

Next step is to choose your currency and add a thank you message for payments.

Once you are done configuring payment options, then click on the save changes button to store your settings.

Now you can connect your directory with a payment provider. If you have not installed any other payment gateway add-on plugin, then you will only see Authorize.net as the default payment gateway option.

Click on the Authorize.net link and then enable it by entering your login ID and transaction key.

Business Directory Plugin Authorize.net Settings

Since you are requiring payments, you will need to set up listing fees. This can be done by going to Directory Admin » Manage Fees. There you can create different listing plans, set up fees and listing duration for each plan and save your changes.

That’s all! Your web directory is now ready to accept paid listings. We recommend you to explore other options in the plugin’s settings for further optimization of your web directory.

We hope this article helped you create a web directory using WordPress. You may also want to see our guide on how to create a team directory in 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.

312 Shares
Share
Tweet
Share
Pin
Popular on WPBeginner Right Now!
  • Revealed: Why Building an Email List is so Important Today (6 Reasons)

    Revealed: Why Building an Email List is so Important Today (6 Reasons)

  • How to Start Your Own Podcast (Step by Step)

    How to Start Your Own Podcast (Step by Step)

  • How to Properly Move Your Blog from WordPress.com to WordPress.org

  • How to Fix the Error Establishing a Database Connection in WordPress

    How to Fix the Error Establishing a Database Connection in WordPress

About the Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Trusted by over 1.3 million readers worldwide.

The Ultimate WordPress Toolkit

17 Comments

Leave a Reply
  1. jeff says:
    Mar 28, 2020 at 11:22 am

    If I install directory theme , do I still need to install plug in?

    Reply
    • WPBeginner Support says:
      Mar 30, 2020 at 9:10 am

      It would depend on the theme, some have the functionality added while others only offer the styling. If you do use a theme with directory functions it would also make it difficult to move your content to a new theme

      Reply
  2. crassus David says:
    May 21, 2019 at 10:24 am

    How do create real estate site using wordpress?
    Please help.

    Reply
    • WPBeginner Support says:
      May 22, 2019 at 10:47 am

      To create a real estate site you would want to take a look at our article here: https://www.wpbeginner.com/wp-tutorials/how-to-create-an-idx-real-estate-website-using-wordpress/

      Reply
  3. Brandon says:
    Dec 15, 2018 at 9:05 pm

    Can you tie directory results to user submitted form?

    Reply
  4. Emmanuel says:
    Jun 1, 2016 at 9:40 am

    hi am trying to combine an inventory and a directory functionality on a website and I would love if the users can search for specific products that are available in stores near them. pls how do I achieve this? thanks

    Reply
  5. Rizwan says:
    May 15, 2016 at 7:05 am

    I tried submit listing as a visitor, it required me to register with site, it gives email and activation link and after that new user is created with limited dashboard (actually only profile) what i want is that anyone can submit his business details in created listings and what i have to do is to approve or disapprove (like we do with comments)

    Reply
  6. Aurora says:
    Jan 17, 2016 at 6:57 pm

    This is exactly what I’m looking for. Great post as usual!

    Reply
  7. desy says:
    Dec 27, 2015 at 11:55 pm

    It will be great if you give demo link

    Reply
  8. Ravinder Singh says:
    Aug 17, 2015 at 7:30 am

    Hello i am WordPress user want to create a WordPress web directory.
    Please can anyone help me in detail.

    Reply
  9. Archanian says:
    May 17, 2015 at 4:36 am

    Great article, I loved it. I was thinking about creating a directory website and wanted to use WordPress but I wasn’t sure if WordPress would be a good choice. Your article here answered several questions I have been seeking answers for.

    I was a little unsure about using WordPress for this purpose but was seriously thinking about it since I am quite familiar with it.

    You info here has helped me to decide to go for it and see what I can do with it.

    Thanks for the write-up, it was just what I was looking for.

    Reply
  10. Tushar Bhambare says:
    Jan 24, 2015 at 10:48 pm

    please give demo link

    Reply
  11. Nouman Younas says:
    Jul 17, 2014 at 4:31 pm

    It will be great if you give demo link

    Reply
  12. RickyO says:
    Jul 13, 2014 at 9:50 am

    There are other plugins that offer much more (such as photos, events, scheduling, attendance sales, and multiple layouts for viewing the listings by biz type, dates [current day, past and future]), and easy to install and maintain.

    The GF solution just seems like too much detail work.

    Reply
    • Siddharth Saudagar says:
      Jul 14, 2014 at 5:43 am

      Can you please provide names of such plugins?

      Reply
  13. Andrea Pernici says:
    Jul 12, 2014 at 9:02 am

    The problem with WordPress directories is that you can’t manage any level of permission by category for example.

    Do you know a way to set the proper user levels to a WordPress Directory plugin or theme?

    Reply
  14. Janet Barclay says:
    Jul 10, 2014 at 3:58 pm

    I love Gravity Forms, but had a bad experience with the Directory add-on, which is a third party plugin and not supported by Gravity Forms. The support is next to zero, but I got by until one day my directory just disappeared.

    Reply

Leave a Reply Cancel reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

Over 1,320,000+ Readers

Get fresh content from WPBeginner

Featured WordPress Plugin
WP Mail SMTP logo
WP Mail SMTP
Fix WordPress email delivery issues. #1 SMTP plugin. Learn More »
How to Start a Blog How to Start a Blog
I need help with ...
Starting a
Blog
WordPress
Performance
WordPress
Security
WordPress
SEO
WordPress
Errors
Building an
Online Store
Useful WordPress Guides
    • 7 Best WordPress Backup Plugins Compared (Pros and Cons)
    • How to Fix the Error Establishing a Database Connection in WordPress
    • Why You Need a CDN for your WordPress Blog? [Infographic]
    • 30 Legit Ways to Make Money Online Blogging with WordPress
    • Self Hosted WordPress.org vs. Free WordPress.com [Infograph]
    • Free Recording: WordPress Workshop for Beginners
    • 24 Must Have WordPress Plugins for Business Websites
    • How to Properly Move Your Blog from WordPress.com to WordPress.org
    • 5 Best Contact Form Plugins for WordPress Compared
    • Which is the Best WordPress Popup Plugin? (Comparison)
    • Best WooCommerce Hosting in 2021 (Comparison)
    • How to Fix the Internal Server Error in WordPress
    • How to Install WordPress - Complete WordPress Installation Tutorial
    • Why You Should Start Building an Email List Right Away
    • How to Properly Move WordPress to a New Domain Without Losing SEO
    • How to Choose the Best WordPress Hosting for Your Website
    • How to Choose the Best Blogging Platform (Comparison)
    • WordPress Tutorials - 200+ Step by Step WordPress Tutorials
    • 5 Best WordPress Ecommerce Plugins Compared
    • 5 Best WordPress Membership Plugins (Compared)
    • 7 Best Email Marketing Services for Small Business (2021)
    • How to Choose the Best Domain Registrar (Compared)
    • The Truth About Shared WordPress Web Hosting
    • When Do You Really Need Managed WordPress Hosting?
    • 5 Best Drag and Drop WordPress Page Builders Compared
    • How to Switch from Blogger to WordPress without Losing Google Rankings
    • How to Properly Switch From Wix to WordPress (Step by Step)
    • How to Properly Move from Weebly to WordPress (Step by Step)
    • Do You Really Need a VPS? Best WordPress VPS Hosting Compared
    • How to Properly Move from Squarespace to WordPress
    • How to Register a Domain Name (+ tip to get it for FREE)
    • HostGator Review - An Honest Look at Speed & Uptime (2021)
    • SiteGround Reviews from 4464 Users & Our Experts (2021)
    • Bluehost Review from Real Users + Performance Stats (2021)
    • How Much Does It Really Cost to Build a WordPress Website?
    • How to Create an Email Newsletter the RIGHT WAY (Step by Step)
    • Free Business Name Generator (A.I Powered)
    • How to Create a Free Business Email Address in 5 Minutes (Step by Step)
    • How to Install Google Analytics in WordPress for Beginners
    • How to Move WordPress to a New Host or Server With No Downtime
    • Why is WordPress Free? What are the Costs? What is the Catch?
    • How to Make a Website in 2021 – Step by Step Guide
Deals & Coupons (view all)
SendinBlue Coupon Code
Sendinblue Coupon
Get Sendinblue, a powerful marketing automation toolkit for small businesses, for FREE.
InMotion Hosting
InMotion Hosting Coupon
Get an exclusive 50% off InMotion hosting plus a free domain.
Featured In
About WPBeginner®

WPBeginner is a free WordPress resource site for Beginners. WPBeginner was founded in July 2009 by Syed Balkhi. The main goal of this site is to provide quality tips, tricks, hacks, and other WordPress resources that allows WordPress beginners to improve their site(s).

Join our team: We are Hiring!

Site Links
  • About Us
  • Contact Us
  • FTC Disclosure
  • Privacy Policy
  • Terms of Service
  • Free Blog Setup
  • Free Business Tools
  • Growth Fund
Our Sites
  • OptinMonster
  • MonsterInsights
  • WPForms
  • SeedProd
  • Nameboy
  • RafflePress
  • Smash Balloon
  • AIOSEO

Copyright © 2009 - 2021 WPBeginner LLC. All Rights Reserved. WPBeginner® is a registered trademark.

Managed by Awesome Motive | WordPress hosting by SiteGround | WordPress Security by Sucuri.