After Installation

1. After install the plugin reset your permalink [ Settings->permalinks ].

2. Create Package for new user.

3. Create “Hospital” categories

4. Create “Doctor” categories

5. Set payment gateway and set payment gateways API keys

Shortcode

Shortcode

Hospital Listing Short Code
Short Code : [listing_layout_style_1]
Short Code : [listing_layout_style_2]

Doctor Listing Short Code
Short Code : [listing_doctor_style_1]
PHP Code :

Hospital & doctor search Short Code
Short Code : [hd_search_box]
PHP Code :

Hospital Category List Short Code
Short Code : [hospital_categories]
PHP Code :

Doctor Category List Short Code
Short Code : [doctor_categories]
PHP Code :

Hospital Featured List Short Code
Short Code : [hospital_featured post_ids=”22,26,48″]
PHP Code :

Doctor Featured List Short Code
Short Code : [doctor_featured post_ids=”22,26,48″]
PHP Code :

Pricing Table
Short Code : [iv_directories_price_table]
PHP Code :

Signup Form
Short Code : [iv_directories_form_wizard]
PHP Code :

My Account
Short Code : [iv_directories_profile_template]
PHP Code :

Login
Short Code : [iv_directories_login]
PHP Code :

Public Profile
Short Code : [iv_directories_profile_public]
PHP Code :

Category Listing Image Set

category

Listing approved by Admin

Admin can set the setting for user:

post_pub_check

How to use “Hospital/Doctor” as front page?

Hospital

Add the code on your theme’s functions.php

 

add_action(“pre_get_posts”, “directory_front_page”);

function directory_front_page($wp_query){

//Ensure this filter isn’t applied to the admin area

if(is_admin()) { return; }

if($wp_query->get(‘page_id’) == get_option(‘page_on_front’)):
$wp_query->set(‘post_type’, ‘hospital’);
$wp_query->set(‘page_id’, ”); //Empty
//Set properties that describe the page to reflect that
//we aren’t really displaying a static page
$wp_query->is_page = 0;
$wp_query->is_singular = 0;
$wp_query->is_post_type_archive = 1;
$wp_query->is_archive = 1;

endif;

}


Doctor

Add the code on your theme’s functions.php

 

add_action(“pre_get_posts”, “directory_front_page”);

function directory_front_page($wp_query){

//Ensure this filter isn’t applied to the admin area

if(is_admin()) { return; }

if($wp_query->get(‘page_id’) == get_option(‘page_on_front’)):
$wp_query->set(‘post_type’, ‘doctor’);
$wp_query->set(‘page_id’, ”); //Empty
//Set properties that describe the page to reflect that
//we aren’t really displaying a static page
$wp_query->is_page = 0;
$wp_query->is_singular = 0;
$wp_query->is_post_type_archive = 1;
$wp_query->is_archive = 1;

endif;

}