How to Update Theme, When New Update release
Please download the latest version of the theme package from themeforest.net
Please go to your download section at themeforest and then download theme files :
And then you need to make sure that
-- You have to backup your theme and plugin(doctreat_core) files as well as the database. In case if you have made any changes in theme or plugin then it can be recover from backup.
-- You can either delete the theme and plugin and upload a newer one or replace files by using FileZilla or another file transfer protocol.
Please note: Don't import users or demo contents. It may override your database contents. You just need to replace/delete files.
Please backup you translation templates if you had added in theme languages folder
Speed depends upon many things like your server speed, items being loaded on the page, images, and third-party scripts. To increase page speed you can use any cache plugins
And also optimize your images.
If you go for the paid plugins then we will suggest you use the below plugins
WP Rocket : https://wp-rocket.me/
Nitro Pack : https://wordpress.org/plugins/nitropack/
How to use elementor page builder in doctreat theme
Please check below video
How to install theme and import demo contents
-- Install Theme and required plugins
-- Please note php zip extension should be install at your server
-- Install required unyson plugin Extensions
-- Then go to Tools > Demo Content Install
Before installation's please make sure of your server meets the minimum server requirements
Admin can't access dashboard from front-end.
Dashboard is only accessible for Doctors,Hospitals and Patients or regular user from front-end.
Please make sure you have logged in viaDoctors, Hospitals and Patients or regular user account. If you will login with admin account details from front-end then it will not show you dashboard.
Create doctor or hospital from admin:
To create users (doctors,hospitals) from admin go to admin > Users > add user :
And Select the role type doctor or hospital.
To Import Users from csv,excel file
Go to Docteat Import user and then upload csv,excel file.
You can download sample file.click to download file
Send request to hospital/clinic
Go to Doctor dashboard menu > Appointment Setting :
Search from available hospitals or location and fill the form :
And send request to hospitals.
After accept the request hospital is available for bookings list.
How to change currency
Admin can change the currency from WooCommerce settings page
Setup offline payments
Admin can setup the offline payment for booking or packages.
Go to admin > Theme settings > payment settings
Now, Select the offline payment types.
Note : Offline payment support WooCommerce default payment gateways cod,cheque and bacs.
How to update packages in offline payment
After place offline payment admin is able to complete the order.
After complete the order doctors package is automatically update.
How to update booking in offline payment
By using offline payment, Doctor is able to accept/reject the booking.Payment on arrival.
To create a registration page you can do that with elementor
Product/Packages section and create a booking product for payments.
Please make sure you have checked the Booking. Then set price to 1 or what you want, this price will be override by the booking price while booking process.
How to translate "Home" word in breadcrumbs
You can go to Unyson > Extensions > Breadcrumbs
How to translate theme
You can use Loco translate plugin to translate theme to any language or to update/change any text in the theme and plugin.
-- Install loco translate plugin
-- Please note : For translations your WordPress should have selected same language as language created in Loco translation.
-- Please make sure you have sync the pot templates for both theme (doctreat)and plugin (doctreat_core)
-- Then create and sync the language templates before add your translations.
-- Go to admin > loco translate > New Language :
-- Select the new language and choose location Other folder options :
-- Please note, Due to the plugin territory some of our theme functionality can be found in the plugin. So you need to translate the both theme and plugin(doctreat_core).
Now you can find your each string in .po template
-- Please avoid to search long strings. Long string may be in parts so start typing word by word. For example don't search "Find your NEAREST" but search by typing "Find"
-- Select string from source text and translate it on below textarea.
One thing which is more important : Please check loco translate settings. Extracting Strings should have minimum size : 1000k
How to change default avatar for doctors, hospitals and patients
Images can be change from Theme Settings > Directory Settings > Images Settings
Extend Elementor shortcode
Create folder extend/elementor/shortcodes in child theme and copy the shortcode file from doctreat_core/elementor/shortcodes to this folder.
For example you want to change anything in search form on home page. Just copy
dc-search-form.php and paste into themes > doctreat-child > extend > elementor > shortcodes >
You can read more about our theme here : https://amentotech.ticksy.com/articles/100016137
Or check video Guide on YouTube
Please note : There can be a google map API key in demo contents. We suggest you to change google map API key before use our theme and google maps. Otherwise google maps may stop after some time if you didn't change API key.
To create production API key, you must enable the billing for google maps, otherwise you key would be development purpose and this will not show Geo Location etc
Please enable the following API for google Map
2. Geolocation API
3. Places API
To change google map API key go to Theme Settings > API Settings > Google Map Key
How to make Hospital base locations or custom locations
Admin can set either doctors should be select hospitals from available hospitals in the system or add custom locations or both
Just go to Theme Settings > Directory Settings > Doctors locations?
How to setup trail packages
Admin can setup a trial package for new users. This trial package will be assigned to new registered users on the site.
This package will be assigned automatically. Also users will not see any trial package in their dashboard.
To create trial package go to Packages/Products > Select trial for doctor.
How to make the system paid/free for doctors
To make system free for the doctors, admin can make it free from Theme Settings > Directory Settings.
If you want to make hiring as offline and want to remove checkout process the you can do that from Theme Settings > Payment Settings
Why WooCommerce doesn't update package or bookings once PayPal is used
We have used WooCommerce for the packages and bookings process and have used below hooks
Most payment methods use the above hooks to process the order.
Any gateways that default to On Hold or Pending Payment instead of Processing will not process the order against packages update or booking.
For this, you also contact to PayPal about this situation. To make sure of this, you can try to use Stripe Credit card payments plugin, which sends the status processing and all the functions of our theme seems to be working fine.
How to import users in bulk in Doctreat Theme
Importing for bulk users (doctors, hospitals and regular users) need to create a excel file with the following formats :
Why email are not working
There are couple of issues could be for email which are not being sent. Please make sure if you have added From Email in Theme Settings > Email Settings > From Email Settings
This should be your server email address or you can try with your personal email address as well.
Or please make sure if emails are not in spams or junks folders.
Why email took time to arrive
Email delay(arrival to the inbox) could be due to many reason. First of all this could be your email content. Some email providers like gmail take time to read content and decide either put it to spam or in inbox.
So your content should be strong, and don't write such kind of content which could be a suspicious.
Secondly This could be due to your server and from email. We have from email settings on the back-end. It could be your domain email or your personal email.
You can try with gmail, it would come arrive early than your domain host email address etc.
This not related to theme because when any event trigger then it send email because php functions runs.
For testing purpose you can install this plugin https://wordpress.org/plugins/email-log/
When your click it will trigger an email and you can see on the back-end.
What are spaces in appointments - Doctreat
Spaces mean that how many patients a doctor will check in the time slot. Like if the doctor has a time slot from 9:00 AM to 10:00 AM and spaces are 3 then the doctor will check 3 patients in 1 hour(9:00 AM to 10:00 AM).
How to translate Calendar in Doctreat Theme
To change language you can add language two digit code in Theme Settings > Directory Settings
Below are the server requirements for the theme
Please note due to a lot of Theme Options, your server should have max_input_vars = 2000 minimum, otherwise your last tabs settings will not be saved
How to setup page templates in Doctreat
For the search page, dashboard and health forum you have to create pages and then assign templates to them
And then go to Theme Settings > Search Doctors Settings > Search result page
and select created page here.
Theme Settings > Directory Settings > Select dashboard page
How to change "from email name" in WordPress
By default wp_email function send emails from email@example.com
So if would like to change this then you can use below plugin SMTP plugins to change this https://wordpress.org/plugins/wp-mail-smtp/
How to enable real-time chat
Please note real-time chat will only work if your server does support node.js and you are allowed to run forever commands to run server file. Mostly VPS and Dedicated servers allow you to run node server files.
Admin can enable real-time chat from the Theme Settings
First make sure that you have installed node and npm installed on your server.
Either its shared hosting or dedicated hosting, and also make sure from your hosting provider that the port is enabled on which you have sending requests.
On shared hosting contact to your hosting provider and ask them to install node and npm, so you can easily run server.js file by writing this command node server.js from the terminal.
In case of dedicated server you have full access to install node and npm.
After verifying Please ask your hosting provider to run server.js file through SSH commands
Themes > doctreat > js > server.js
If you have not used any SSL certificate for your domain then without any problems you can run node chat server file. Just follow the below instructions.
Please ask your hosting provider how we can setup node server file
Then from Theme Settings you can enable either Inbox or real-time chat
Just add your host and open port in Theme Settings. Please note if you have used port other than 81 then please update port in server.js as well.
In simple inbox system, users will get messages on page refresh while in real-time chat system users will get instant messages without refreshing the page.
If you have used SSL certificate for you domain, then make sure that you have access to your certificate files on your cpanel.
Normally SSL certificate files could be found below path on cpanel.
To make sure that which keys and cert file have used for SSL certificate, you can find that information on Cpanel SSL/TLS
After that click on Manage SSL
After clinking on Managed SSL Sites.
Copy the name of certificate file and then go to SSL folder path. ( ssl/certs )
Download the file on you PC and then go to ssl/keys folder to download the key file.
After that go to you theme directory and create the below folder path in your theme root location.
Rename the both files so you can remember them easily.
And upload your downloaded key and cert file to this folder.
Now open doctreat/js/server-ssl.js file
Now run the node server file from terminal like this node server-ssl.js
And check the chat it will work now on https secure protocol.
Note: Only Authorized certificates install on your domain will be recognize for your chat node server and no self-signed certificate will work on production server.
This below process is same for both situations either with SSL or without SSL.
Node JS Chat server only available or worked if terminal open, If you have mistakenly closed the terminal or logged out your session then the node chat server will be stop.
To run the node js chat app in background process install the npm process manager which is forever.
Run the below commands from your terminal.
npm install forever -g
It will install forever package globally, Note: If you have not installed forever globally then it will not work.
To start the node chat server run the following command.
forever start server-ssl.js
Do not bother the warnings it will run your application in background now.
To check which node processes are running on background enter the following command.
(It will list down the all running processes for node js)
And to stop the node chat server enter the below command.
forever stop server-ssl.js
For your eyes only
How to change dashboard icon images
Please go to Theme Settings > Directory Settings and Dashboard Settings section
here you can change the icon images
How to change the slug from back-end
You can change the slug from the Settings page for any custom post type
Change ‘doctor’ = myslug,
A new URL will be
How to setup CRON job and What is the purpose of CRON job
First of all you need to install the Doctreat CRON plugin and then you need to set cron job interval to run the cron job as "once a monthly, once a weekly or once a day" in admin > Theme Settings > Payment Settings
Note : After change of cron job interval we need to deactivate and then active the Doctreat Cron Plugin (for save intervals in wp cron job)
After that we need to set cron job from cPanel for wp-cron.php file located in WordPress root.
Go to the cPanel and then click on Cron Jobs
Then Setup a Cron Job according to your needs.
Command will look something like that
wget -q -O - http://yoursite.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1
Why CRON JOB Is Required?
CRON Job is being used in doctreat for two purposes.
1) Generate Payouts for the doctors.
2) Remove featured doctors listing if their package get expired
Why email is not working
Please make sure if emails are not in spams or junks folders.
Why email took time to arrive
Email delay(arrival to the inbox) could be due to any reason. First of all, this could be your email content. Some email providers like Gmail take time to read content and decide to either put it to spam or in the inbox.
So your content should be strong and don't write such kind of content which could be suspicious.
This is not related to the theme because when any event trigger then it send an email because PHP functions run.
For testing purposes, you can install this plugin https://wordpress.org/plugins/email-log/
When your click it will trigger an email and you can see the email log it on the back-end.