Back to Forhad's Creations

FancyRehab – Rehab Directory Listing Plugin For WordPress

By WP Forhad / October 3, 2024

Rehab Directory is a versatile WordPress plugin designed for profit and non-profit organizations to showcase their inpatient and outpatient treatment offerings effectively. This plugin serves as a comprehensive platform for rehabilitation centers to present their services to those seeking help for substance use disorders and mental health issues.

The Rehab Directory enables organizations to create detailed listings that include essential information such as treatment types, facility locations, contact details, and specialized services. Its user-friendly interface allows organizations to easily manage their listings, ensuring that individuals can find the support they need quickly and efficiently.

Key Features

  • Comprehensive Treatment Listings: Showcase various inpatient and outpatient treatment options with detailed descriptions.
  • Customizable Directory Options: Tailor the directory settings to fit the unique needs of your organization, including categories and service types.
  • Location and Contact Information: Provide crucial details such as the facility’s location, contact number, and website, facilitating easy access for potential clients.
  • Multilingual Support: Offer services in multiple languages to cater to diverse populations, ensuring inclusivity.
  • Interactive Map Integration: Allow users to view the facility location via an embedded Google Map link, enhancing accessibility.
  • Flexible Service Categorization: Organize treatment services based on various criteria, making it easier for users to find what they need.

Use Case

By utilizing the Rehab Directory plugin, a center can effectively promote its services and reach those in need of help.

  • Detailed Service Presentation: The center can create comprehensive listings that detail the various treatment programs offered, such as substance use treatment, counseling services, and educational programs. This transparency helps potential clients understand their options and make informed decisions.
  • Customizable Content: Using the plugin, the center can customize their listings to include essential information like age groups accepted, special programs offered, and specific treatment services available, ensuring that all relevant details are easily accessible.
  • Enhanced User Engagement: By integrating a map URL, users can easily locate the facility, improving the chances of individuals seeking treatment to find and contact the center.
  • Promoting Specializations: The directory allows the center to highlight its specializations, such as services for co-occurring mental health disorders, ensuring that users looking for specific help can quickly find relevant listings.
  • Increased Visibility: Listing the center in the Rehab Directory enhances its visibility to a broader audience, connecting more individuals with the vital support they require for their recovery journey.

How to setup Rehab Directory plugin

Step 01: First we have to go to the WordPress dashboard.

WP Dashboard

Step 02: Then we have to click the Plugins option from the dashboard. Then we have to click  “Add New Plugin” button  , from there we have to click “Upload Plugin”. Then we have to choose the plugin from our device. Then we have to click install button. Here we can Active The Plugin or we may active it later from Plugins options

Plugin Activation

Step 03: After activation we will see a new option called “Rehab Directory” to our WordPress dashboard like below

Plugin Option

Step 04: Clicking on Rehab Directory we will few options like below

Plugin Options

Step 05: Clicking on Add New we can add new an Rehab Directory like below

All Fields of Rehab Directory Plugin
All Fields of Rehab Directory Plugin
All Fields of Rehab Directory Plugin

Step 06: After adding every thing if we publish it we will see it in preview page like below

Rehab Directory Preview
Rehab Directory Preview

Use our recommended page builder plugin, FancyPost to unlock a number of powerful blocks to help you to design amazing websites!

More screenshots

Rehab Directory Preview
Rehab Directory Preview
Rehab Directory Preview

Live Demo

Click the button below to explore a live demo of the Rehab Directory plugin. Experience how rehabilitation centers can showcase their inpatient and outpatient treatment options, including treatment details, facility information, and contact details, all in one easy-to-navigate directory. The demo allows you to understand how the plugin can be used to present comprehensive treatment offerings effectively to those seeking help.

Download

Ready to improve how your rehabilitation center showcases its services? Click the button below to download the Rehab Directory plugin and start creating detailed, user-friendly listings for your treatment offerings. Ensure individuals seeking help can easily find the information they need, including contact details, treatment types, and specialized services.

Please enable JavaScript in your browser to complete this form.

Developer area

The Rehab Directory plugin is built with flexibility in mind, allowing developers to customize and extend its functionality to better suit their needs. This section provides guidance on how to enhance the plugin through custom coding, API integrations, and template modifications.

1. Customizing the Directory Listings

Developers can modify the appearance and structure of the directory listings by overriding the default template files. To do this, follow these steps:

  • Override Template Files: Copy the template files from the plugin directory to your theme’s folder (e.g., yourtheme/rehab-directory/). This allows you to make changes without altering the core plugin files.

Example Code to Customize the Listing Display:

// In your custom template file, add your HTML/CSS here
<div class="rehab-directory-listing">
    <h2><?php the_title(); ?></h2>
    <p><strong>Location:</strong> <?php echo get_post_meta(get_the_ID(), 'location', true); ?></p>
    <p><strong>Contact:</strong> <?php echo get_post_meta(get_the_ID(), 'contact_number', true); ?></p>
    <div class="rehab-description">
        <?php the_content(); ?>
    </div>
</div>

2. Adding Custom Meta Fields

To add custom meta fields to your directory listings (e.g., treatment types, languages accepted), you can use the built-in WordPress functions. Here’s an example of how to register and save custom fields:

// Add a meta box for additional information
function add_rehab_meta_boxes() {
    add_meta_box(
        'rehab_details', // Unique ID
        'Rehab Details', // Box title
        'render_rehab_details_meta_box', // Callback function
        'rehab_directory' // Post type
    );
}

function render_rehab_details_meta_box($post) {
    $location = get_post_meta($post->ID, 'location', true);
    $contact_number = get_post_meta($post->ID, 'contact_number', true);
    echo '<label for="location">Location:</label>';
    echo '<input type="text" id="location" name="location" value="' . esc_attr($location) . '" />';
    echo '<label for="contact_number">Contact Number:</label>';
    echo '<input type="text" id="contact_number" name="contact_number" value="' . esc_attr($contact_number) . '" />';
}

add_action('add_meta_boxes', 'add_rehab_meta_boxes');

// Save the meta box data
function save_rehab_meta($post_id) {
    if (array_key_exists('location', $_POST)) {
        update_post_meta($post_id, 'location', sanitize_text_field($_POST['location']));
    }
    if (array_key_exists('contact_number', $_POST)) {
        update_post_meta($post_id, 'contact_number', sanitize_text_field($_POST['contact_number']));
    }
}

add_action('save_post', 'save_rehab_meta');

3. Integrating Third-Party APIs

Developers can enhance the functionality of the Rehab Directory plugin by integrating third-party APIs, such as treatment resources or location services. Below is an example of how to make a simple API request to fetch additional data:

function fetch_rehab_data_from_api() {
    $response = wp_remote_get('https://api.example.com/rehab-data');
    if (is_wp_error($response)) {
        return; // Handle error appropriately
    }
    $data = json_decode(wp_remote_retrieve_body($response), true);
    // Process and use the retrieved data
}

4. Customizing Notifications

If you want to customize email notifications for new listings or inquiries, you can hook into the notification system as follows:

add_filter('wpforms_notification', 'customize_rehab_notification', 10, 3);
function customize_rehab_notification($notification, $form_data, $form_id) {
    if ($form_id == 'your_form_id') {
        $notification['message'] = 'New inquiry from ' . $form_data['fields'][1]['value'] . ' regarding the directory listing.';
    }
    return $notification;
}

Associate Plugins

  • Duplicate Page By mndpsingh287

Search , install and active the Duplicate Page By mndpsingh287 plugin like below to make copy of similar types of Rehab Directory

Duplication Plugin Installation
click this to duplicate

Request for new features

We are always looking to improve! If you have any suggestions for new features or improvements to the plugin, feel free to reach out to us. Your feedback helps us make Easy Job Listing even better.(Contact form , Telegram, Whatsapp, Messenger)

Donate

If you enjoy using Rehab Directory and would like to support its continued development, please consider making a donation. Your contributions will help us add more features, provide regular updates, and continue offering support to all users.

Forhad Avatar

Hossain Muhammed Forhad

Forhad Hossain is the co-founder of Pluginic. He brings a one-of-a-kind fusion of tech brilliance, business savvy and marketing mojo to the table.

Forhad has consistently spearheaded the development of innovative products like Gutenic, Editorial Rating, FancyPost and many others that have become market leaders in their respective niches.

Website Builder Front Website Builder Back

Want To Build Better WordPress Websites?
Start Here! 👇

0
1 0 Rating
2 0 Rating
3 0 Rating
4 0 Rating
5 0 Rating
Total Vote: 0

Aggregate Rating System by Editorial Rating

Leave a Reply

Your email address will not be published. Required fields are marked *