Tag - Directory

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.


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 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_infofloat:left; width:235px; margin-right:10px; 
.listings_list imgwidth: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.

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

Source link

How to Make a Staff Directory in WordPress (with Employee Profiles)

Do you want to create a staff directory on your WordPress site? An employee directory allows you to introduce customers to your team members and win trust by showing the human side of your business.

One downside of running an online business is that your customers don’t get to know you or your team members personally. A team directory helps bridge that gap.

In this article, we’ll show you how to easily add a staff directory in WordPress with individual employee profiles.

How to Make a Staff Member List in WordPress

Creating a Staff Directory in WordPress (Step by Step)

First thing you need to do is install and activate Staff List plugin. It is a free WordPress team directory plugin. For detailed instructions, see our guide on how to install a WordPress plugin.

Next, you need to go to the Staff List » Admin page from your dashboard menu and click the ‘Quick Start’ tab. You will be asked to enter a name for your staff template and click the ‘Create Records’ button. For example, you can name it ‘New Staff Template.’

Create New Staff Template

Once done, the plugin will create a staff template and add 3 staff members automatically.

Next, go to Staff List » Staff Templates from your WordPress menu to preview your new staff template. You need to click on the ‘Edit’ link to configure the template.

Edit Staff Template

You will see the Template Options including staff page layout, single page layout, field order, shortcodes, etc.

Template Options - Staff List WordPress Plugin

You can review the template options to make changes or simply leave the default options.

Below that, you can see the ‘Input Fields’ section to customize your staff profile.

Staff List Field Options WordPress

As you can see in the screenshot above, there are 6 input fields created by default.

  1. Name
  2. Position
  3. Department
  4. Phone
  5. Email Link Text
  6. Staff Profile

You can change the label, display options, and style for each field from the Field Options.

Add Staff Members to Make a Team Directory

Now that you have customized your staff page template, you can add and customize your staff member profiles. Go to Staff List » Staff members, and you will see the 3 staff members already added by the plugin.

You can customize the default staff member profiles by changing the profile information. Click the ‘Edit’ link to get started.

Edit Staff Member Profiles

From here you can customize the Staff Member Data for team member listing page, individual profile page, and upload photos. The ‘Staff Page’ option shows you 6 input fields as shown in the staff page template above. The information you enter here will appear on your staff directory page.

Edit Staff Member List Page Data

Next, you can customize the ‘Single Page’ content. Like the Staff Page, it also has 6 input fields by default. However, it has a text field to write the individual employee profile bio.

Edit Staff Member Single Page

The information you enter here will appear on your individual employee profile page.

Next, you can add your team member images for the staff page and single page. You can quickly add your member’s profile photo by clicking on the ‘Select Image’ button.

Add Images to Staff Member Data

Lastly, you can see the ‘Options’ tab which includes Single Page SEO options. You can add a URL slug and page title for your team member profile page.

SEO Options Staff Member Data

If you leave the “Pretty” Permalink option blank, then your staff profile page will have a URL like this: http://example.com/profile/?smid=528.

You can make it a pretty link by entering your staff member’s name with a dash in between. For example, you can use laura-taylor which would make your staff profile page URL: http://example.com/profile/laura-taylor.

Don’t forget to click on the ‘Update’ button to save your changes.

Repeat the same process to customize all team member profiles.

If you need to add more team members, you can click the ‘Add New’ button on the top.

Add New Staff Member

First, add your staff member’s name. Then, choose your staff template from the right sidebar and click ‘Save Draft’ to load the input fields.

Choose Template for New Staff Member in WordPress

Next, you can see the same 6 input fields to create a team member profile. Add the necessary information as before.

Add New Staff Member Data

Once done, don’t forget to publish your staff member profile.

Publish Your Staff Member List in WordPress

Now that you have added all your staff member profiles, you are ready to publish your staff member list on your website.

First, you need to find and copy your staff page template’s shortcode. Go to Staff List » Staff Templates and click ‘Edit’ option below your staff page template. Then, the Template Options page will open.

Click on the ‘Shortcodes’ tab and copy the Staff Page Shortcode.

Staff List Page Shortcode

After that, you need to create a new page to display your staff member list. Go to Pages » Add New from your WordPress admin panel and enter a name for your staff list page. For example, you can name it ‘Our Team.’

Create Our Team Page in WordPress

Then add the Shortcode block to your WordPress page editor area.

Add Shortcode Widget to WordPress Editor

After the shortcode widget is added, paste the shortcode you copied earlier in the tutorial.

Add Staff Page Shortcode to Team Page in WordPress

Then, you can ‘Publish’ the page.

Now you can open the page to see how your staff directory looks. Here is how it looks on the default Twenty Nineteen theme with the default staff member details.

Staff Member List Page Demo in WordPress

In the list, you can see the ‘Profile’ option which does not have a link. We will show you how to add the link in the next step.

Adding Individual Staff Member Profiles

So far we have created a simple team directory in WordPress that lists all staff members.

The next part is to create a single page for each team member to display individual employee profiles.

Let’s start by going to Staff List » Staff Templates and click ‘Edit’ option below your staff page template.

On the next page, you need to click on the ‘Single Page – Options’ tab and copy the Single Page Shortcode.

Staff Member Single Page Shortcode

Now you need to create a new page in WordPress to add this shortcode. Go to Pages » Add New from your WordPress panel to add new a new page.

Enter your page title first — for example, Member Profile. Then, add the Shortcode widget to your WordPress page editor area and paste the Single Page Shortcode you copied before.

Add Staff Member Single Page Shortcode to your WordPress Page

After that, you need to customize your page permalink. It’s important if you want the pretty links to work, then you need to make sure that you add one of these words as your page URL slug.

  • bio
  • profile
  • profil
  • perfil

Open the ‘Permalink’ option in the right sidebar and add one of these words as your page URL. For example, we will choose the ‘profile.’

Staff Meember Single Page Permalink Setting

Once done, publish the page. Now you need to copy this page permalink and add to the Single Page Options.

You can do this by going back to Staff Template Options » Single Page – Options. Once there, simply paste the permalink in the Single Page URL field.

Add Staff Member Single Page URL to your Template Options

Once done, don’t forget to update your staff template.

After that, you need to refresh your WordPress Permalink settings to make the pretty permalinks work. Go to Settings » Permalinks and simply click ‘Save Changes’ at the bottom without changing anything on this page.

WordPress Permalinks Settings

Now you can open your staff member list page to see if the profile link is added or not. If it is working, then you will see the Profile text has a link.

Profile Link on WordPress Staff Directory Page

You can click the link, and it will open your team member’s profile page.

Staff Member Profile Single Page in WordPress

We hope this article helped you create a staff directory and add employee profile pages in WordPress. You may also want to see our guide on how to create your company org chart 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.

The post How to Make a Staff Directory in WordPress (with Employee Profiles) appeared first on WPBeginner.

Source link