Skyrocket your WordPress website performance in a breeze.
Launching a directory website may be a great business idea since it allows you to make money with user-generated content. There are many types of directory websites, and a business directory website is one of the most popular. Basically, it’s a site that lists businesses within a specific geographic location or industry, helping people find and discover nearby places, such as restaurants, hotels, stores and so on.
In this short walkthrough, we’ll show you how to create a business directory website with WordPress for free and without any coding skills.
When building a business directory website, the most important step is selecting the right directory plugin and a WordPress theme. If you haven’t chosen a theme and a plugin yet, you can check our detailed overviews of the most popular directory themes and plugins out there:
For the sake of this tutorial, we’ll use HivePress, a free WordPress business directory plugin that allows you to create directory and listing websites of any type. Also, we’ll use ListingHive, a free WordPress directory theme.
So, let’s dig into how to install and set up this theme.
Installing a WordPress Business Directory Theme
Your starting point is to install the ListingHive theme. Since it’s a free theme, you can install it from the WordPress theme repository by going to the Appearance > Themes page. Then find it via the search bar and proceed by installing and activating ListingHive.
You can follow the screencast below if you have any issues with installing ListingHive.
Upon the theme installation, it will notify you that it requires installing the HivePress plugin to function properly. It’s crucial to install HivePress since it will power most of the directory features on your website. So, simply click on the suggested link to install and activate the plugin.
Now, you can add some extra features to your business directory in order to extend its core functionality. To do this, navigate to the HivePress > Extensions section. Within this section, you’ll see a list of the available HivePress add-ons that you can purchase or install for free.
For example, you can install the Messages extension to allow users to send private messages and exchange attachments. Also, you can add the Favorites add-on to let registered users keep a list of favorite listings and the Reviews extension to enable reviews and ratings on your business directory website.
Finally, we recommend installing the Geolocation extension to allow website visitors to search businesses by location (if you decide to install it, you can also check our step-by-step guide on enabling Google Maps on your website).
To install an extension, simply click on the Install button and proceed by activating it once it’s installed.
Adding Listing Categories
Now, it’s better to split your business directory into categories, depending on business niches, to make it easier for website visitors to navigate it. To add a new category, go to the Listings > Categories section and click Add New.
Within this page, you can enter the category name (e.g., “Restaurants”), fill out the description if needed, upload the category image and create a hierarchy of categories (by setting a parent category). Once you are done, click on the Add Category button.
Similarly, you can add more listing categories. For example, “Clubs,” “Hotels,” etc. There are no limits on the number of categories, so feel free to add as many as needed.
Adding Custom Listing Fields
Once you add categories, it’s time to create some fields specific to business listings. To add custom listing fields and search filters, navigate to the Listings > Attributes section. For example, let’s create a “Website” attribute to allow users to indicate their business websites.
In the “Editing” section, you need to set the custom field name and allow its front-end editing to let users fill in this field when adding new listings. Then select the attribute type (we’ll select the “URL” type for this one).
Within the “Search” section, you can allow users to search, sort and filter listings by the custom field value. However, for the “Website” attribute, it doesn’t make much sense, so you may skip this section.
Finally, define how the attribute will appear on the listing pages by assigning it to certain template areas and setting its display format (we’ll use this display format
%label%: %value% here). Then click on the Publish button.
That’s it! We’ve just added the first custom listing field. But let’s add one more and make it category-specific. For example, let’s add a “Cuisine” attribute to the “Restaurants” category to allow website visitors to filter restaurants by the type of cuisine.
To do that, click on the Add New button, set the attribute name, allow its front-end editing and set the field type. For this attribute, we recommend using the “Select” field type. Then you need to set up this custom field as a search filter by marking it as filterable and setting the search field type. It’s better to use the “Select” type as well.
Finally, set the attribute display format and assign it to the “Restaurants” category. When finished, click on the Publish button.
Now, if you want to require users to select a cuisine type when they add a new listing to the “Restaurants” category, you need to mark this field required and save changes.
Next, it’s necessary to add the attribute options. Click on the Edit options button and add several options for users to choose from. For example, “Chinese,” “Italian,” and “French” cuisines.
That’s it! You can add more custom fields and search filters by following the same steps.
Adding Business Listings
Now it’s time to add a new business listing. For example, let’s add the first listing to the “Restaurants” category. However, to check how it’s going to work for business owners, let’s do it from the front-end. To do this, we’ll navigate to our website, click on the Add Listing button, and select the “Restaurants” category.
Once on the listing submission page, we can upload the listing image, enter the listing title (e.g., “Royal”) and set the location. Then we need to add the website URL and select the type of cuisine (the custom fields that we’ve added previously). Finally, it’s necessary to fill in the description and click on the Submit Listing button.
If moderation is enabled, new listings should be approved by the admin before they appear on the front-end. You can disable moderation in the WP Dashboard > HivePress > Settings > Listings section.
Finally, let’s move to the next step, and we’ll briefly explain how to set up a front page for your business directory website.
Setting up a Front Page
Since HivePress is integrated with the WordPress block editor, it won’t be an issue for you to add and customize new layouts using blocks. To add a new page, go to the WP Dashboard > Pages > Add New section.
Next, you need to enter the page title (e.g., “Home”), and then you can start adding layout blocks by clicking on the ➕ icon and selecting blocks you need. For example, you can add a listing search form, a listing categories block, and one that displays recent business listings.
Once you finish customizing your front page, click on the Publish button. Then you need to go to the WP Dashboard > Settings > Reading section and set this page as the homepage of your business directory website.
That’s it! Now you can launch and run your own business directory website even without a huge budget. Then, once you’ve grown significant traffic, you can start making money with your directory. Feel free to check our tutorial on how to monetize a directory website with WordPress.
Bear in mind that if you want to build a business directory website with WordPress for free and without any coding knowledge, you can do it hassle-free with HivePress and its ListingHive theme. They are lightweight, easy-to-use and packed with all the necessary features for getting your website off the ground.
Build a searchable member directory website using WordPress.
Just a few simple steps to create your own event directory.