Credit portal




How to Create a Web Directory in WordPress

Are you looking to create a business web directory? Recently one of our users asked us if it was possible to create a web directory in WordPress? Our answer: of course, there’s a plugin for that. In this article, we will show how to create a web directory in WordPress. We will also show you how you can easily accept payments for your premium web directory listings.

What is a Web Directory?

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 YellowPages or your phone book.

WordPress offers several different web directory plugins and themes that will allow you to create a web directory using WordPress. However for this article, we will only show you the plugin method, so you can use it on just about any WordPress site.

If you use a WordPress web directory theme, then you will be limited to that theme forever.

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

Method 1: Using Gravity Forms Directory Addon

Gravity Forms is the most popular form management plugin for WordPress. It allows you to create contact forms, post submission forms, etc. For this method, you will need to purchase and install Gravity Forms.

Here is a Gravity Forms coupon which will give you 25% off.

Once you installed and activated Gravity Forms plugin, the next thing you need is to install and activate Gravity Forms Directory plugin. It is a free add-on plugin that turns Gravity Forms into a Directory plugin.

Next, you need to create a form that your users will use to submit entries for the web directory. You can do this by going to Forms » Add New in your WordPress admin area.

On the new form page, you will use Gravity Forms fields from your right. When you click on a field, it will add it to the form canvas where you can edit it. You will be using the Standard Fields to add your form fields like Site Title (single line text), Site URL, Description (Paragraph Text), etc.

Once you are satisfied with the form you need to click on the Update Form button to save the form.

Adding Your Web Directory To a WordPress Post or Page

The next step is to display your directory on a WordPress post or page. You can do this by creating a new page or editing an existing post/page. When you go to the page edit screen, just above the post editor you will see the Add Directory button.

Simply click on it, and it will bring up a popup where you need to select the form you created earlier. Entries to this form will be used to display your directory.

After selecting the form, click on the Insert Directory button at the bottom of the popup screen. You should be able to see the directory shortcode appear in the post editor. You can save your post/page and preview your changes to see the directory in action.

Adding a Submit Listing Page for Your Directory

In order to submit websites to your directory, your users will need to fill out the form you created earlier. Start by creating a new page in WordPress and click on the Add Form button above the post editor. Next, choose your directory form and then click on the Insert Form button.

The shortcode for your directory form will appear in the post editor. You can save the post/page or click on the preview button to see the form in action.

You can also use the Gravity Forms payment add-ons to charge a fee for each submission, but this is the easiest way to create a directory using Gravity Forms.

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.

You will also see a notification that you have featured listings turned on, and you need to turn on payment options. We will recommend you to turn off featured listings for the time being. You can turn off featured listings by going to Directory Admin » Manage Options and then click on the Listings tab where you need to uncheck the box next to Offer sticky listings .

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 that your users can use this category when submitting their listing.

Once you have created the categories, then you can go to your directory page on your website. You will see something like this:

You users can click on the Submit Listing button to add their listings. You can also manually add entries to your directory by going to Directory » Add New Listing.

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 Google Wallet 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. After installing the payment gateway add-on plugin, you can go to Directory Admin » Manage Options page and click on the Payments tab.

The first option on the Payment Settings screen is the checkbox to enable 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. Below that you will find the settings to configure your payment gateway. If you have not installed any other payment gateway add-on plugin, then you will only see Google Wallet as the default payment gateway option.

Once you are done configuring payment options, then click on the save changes button to store your 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.

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

About the Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Page maintained by Syed Balkhi .

Category: Bank

Similar articles: