Vaxi - Medical and Vaccination WordPress Theme

Theme Documentation


Introduction

Thank you for purchase!

This is documentation for "Vaxi - Medical and Vaccination WordPress Theme". Documentation consists of sections. Every section explains specific part of theme or functionality. List of sections is in left side of screen.

- If you are new to WordPress, it is recommended to read official WordPress documentation first.

- Please read theme documentation and follow instructions for demo theme content setup.

- Use search (ctrl+f keyboard shortcut) to find words on page.

- If you have questions please send message here using account that you purchased theme with to confirm purchase.

- Before asking for support please read more about general support for themes and item support policy.

Demo theme content setup

Steps for demo theme content setup
1.
Unzip main.zip file that you downloaded from Themeforest, find „vaxi.zip“ and upload it to WordPress dashboard.
2.
In WordPress dashboard go to appearance/themes and activate theme „Vaxi“.

3.
Install and activate all recommended and required theme’s plugins

4.
Go to tools/import and import demo.xml file.

Be sure to replace demo images with yours images or purchase license for demo images.


5.
Go to appearance/menus and set demo content menu.

If you imported full demo content then you will have alredy "Menu 1" - theme demo menu (you can create new menus if needed). Mark the location for it in "Display location". named "Desktop horizontal menu".


6.
Go to Customizer - appearance/customize/homepage settings and set static page (front page) for home page

Set other theme options as well. More about theme options you can read in section "theme options".


7.
Import theme demo widgets. Instal and activate this plugin: Widget importer & Exporter and import widget.wie file. Widget.wie file is in demo-content folder.
If there is problem with file upload, open wiget.wie file with any text editor, copy content and paste in field as in screenshot below.
8.
Import demo content for slider (Smart Slider 3 plugin). In the "demo-content" folder is "vaxi-slider1.ss3" file. Upload it in Smart Slider 3 slider dashboard and copy/paste it's shortcode in page where you want slider to appear. Be sure to have activated Smart Slider 3 plugin recommended by theme (theme version 1.0.6 and above). Add your background images for slides, demo content do not contain images. Recommended image size for slider background image is width 2000px, height 800px.
Click on "or import your own files".
9.
Basic installation is finished. For more details and functionalities please see sections list in left side of screen and continue reading.

Elementor page builder plugin

This theme is built with Elementor page builder plugin. Official plugin page Theme will add custom Elementor widgets.

Menus

Theme has 1 custom menu locations. "Desktop horizontal menu" as main default menu.
"Menu 1" imported with demo content is theme demo menu (you can add new menus if needed). Set the location for the Menu 1 in "Display location".
To create mega menu, be sure to add class "mega-menu-column" in menu's column where you want mega menu to appear. To activate css field in menus, open menus, click on "screen options" in top right corner of your dashboard and checkmark "css classes".

Contact form

Everything related to contact is made with Contact form 7 plugin. Official plugin page.
1. This is code for "Subscribe form":

<div class="row footer-subscribe"> <div class="col-lg-4"> <h4>Stay updated on our latest news and medical guidness</h4> </div> <div class="col-lg-8 footer-subscribe-2"> [email* your-email placeholder "Your Email Address (required)"][submit "send"] </div> </div>

2. This is code for "Homepage contact form":

<div class="box-shadow custom-contact-form1"> <h4>Sign up to On-line Consultation:</h4> <div class="row p-0"> <div class="col-sm-12 pl-0 pr-0"> <label>Name</label> [text* your-name placeholder "Your Name (required)"] </div> <div class="col-sm-12 pl-0 pr-0"> <label>Email</label> [email* your-email placeholder "Your Email Address (required)"] </div> <div class="col-sm-12 pl-0 pr-0"> <label>Message</label> [textarea textarea-960 class:smalltextarea placeholder "Leave us message"] </div> <div class="col-sm-12 pl-0 pr-0 p-0"> [submit "Send"] </div> </div> </div>

3. This is code for "Coupon popup":

<div class="row coupon-subscribe"> <div class="col-lg-6 "> <div class="coupon-subscribe-percent"> -20% </div> <h3>World Leader in Vaccination for Life!</h3> <p>Sed sed vehicula risus. Nam et lacus ut magna ornare tempus. Pellentesque tincidunt accumsan urna sed vulputate</p> <h4>Get Discount Coupon here</h4> <div class="coupon-subscribe-form"> <div class="mr-1">[email* your-email placeholder "Email Address"]</div> <div>[submit "send"]</div> </div> </div> <div class="col-lg-6 coupon-subscribe-image"> <img src="http://wp/wpvaxi/wp-content/uploads/2021/09/Cleaning-and-disinfection-2020.png" alt=""> </div> </div>

4. This is code for "Contact form":

<div class="row" style="max-width: 530px;"> <div class="col-sm-12 p-0"> <label>Name</label> [text* your-name placeholder "Your Name (required)"] </div> <div class="col-sm-12 p-0"> <label>Email</label> [email* your-email placeholder "Your Email Address (required)"] </div> <div class="col-sm-12 p-0"> <label>Message</label> [textarea textarea-960 class:smalltextarea placeholder "Leave us message"] </div> <div class="col-sm-12 p-0"> [submit "Send"] </div>

5. This is code for "Appointment popup form":

<div class="appointment-form" id="#test-form""> <div class="appointment-form-inner""> <h2>Request appointment</h2"> <div class="row""> <div class="col-sm-6 inputleft""> <label>Name</label"> [text* your-name placeholder "Your Name (required)"] </div"> <div class="col-sm-6 inputright""> <label>Email</label"> [email* your-email placeholder "Your Email Address (required)"] </div"> <div class="col-sm-6 inputleft""> <label>Phone number</label"> [text number-6 placeholder "Your phone number"] </div"> <div class="col-sm-6 inputright""> <label>Date</label"> [date date-640 placeholder "Calendar schedule"] </div"> <div class="col-sm-6 inputleft""> <label>Specialization</label"> [select menu-757 "pediatry" "virusology" "other"] </div"> <div class="col-sm-6 inputright""> <label>Doctor</label"> [select menu-757 "John Doe" "Anne Doe" "Jane Doe" ] </div"> <div class="col-sm-12 p-0""> <label>Message</label"> [textarea textarea-960 class:smalltextarea placeholder "Leave us message"] </div"> <p style="color: #fff;">Suspendisse potenti. Donec tristique dolor id sapien porttitor, rhoncus malesuada turpis ullamcorper. Congue quisque egestas diam in arcu cursus. Sit amet mattis vulputate enim nulla aliquet</p"> <div class="col-sm-12 p-0""> [submit "Send your request"] </div"> </div"> </div"> </div">

Pages and page templates

Pages have 1 custom option, it is "Background image for page title". It works only for page templates that have main page headline(title).
5. Pages have few custom page templates. For pages created with Elementor page builder it is recommended to use "page full width (no title)" or "page full width (with title)" as page template. "Blog archive" and "blog archive sidebar" page templates will show blog posts.

Customizer theme options

Theme options are in appearance/customize. Options for logo, background images, copyright, add/remove main.less file (if you want to make modification in .less file, default is main.css file. Recommended for child theme customization), align menus etc.

Shortcodes

1. Custom shortcode for text in "advanced carousel" page builder element for a carousel. Advanced carousel page builder element is used for testimonials. If you imported demo it is already there.
How to set testimonials carousel. (depreciated)

Add the testimonials shortcode in repeated list in "advanced carousel" element.

[rtvaxi_testimonials text1="Suspendisse tortor enim, varius et porttitor sit amet, posuere vitae massa. Proin ac quam eu erat semper sagittis in vitae elit. Nam neque erat, semper vel ultrices in, finibus eu magna. Pellentesque habitant morbi tristique" text2="- Katy Grey" url="https://twitter.com/" image="http://wp/wpvaxi/wp-content/uploads/2021/09/Wallpaper-1080p-8.jpg"]

[rtvaxi_testimonials2 text1="Suspendisse tortor enim, varius et porttitor sit amet, posuere vitae massa. Proin ac quam eu erat semper sagittis in vitae elit. Nam neque erat, semper vel ultrices in, finibus eu magna. Pellentesque habitant morbi tristique" text2="-Katy Grey" img="http://rayoflightthemes.com/wordpress-themes/vaxi-wordpress-theme/wp-content/uploads/2021/10/Avatar.png"]

Testimonials have custom post types where content should be added, then added in theme with custom page builder testimonials widgets.

2. Custom shortcode for text in Owl carousel.
[rtvaxi_slider1slide tag="H1" phonenumber="123456" title="Protected together" text="Pellentesque fringilla nisi eros, quis vulputate diam rutrum et. Mauris in erat auctor, scelerisque nisi in, laoreet risus. Phasellus venenatis tellus eget turpis vestibulum tempor. In tempor tincidunt porttitor" subtitle="Emergency Hotline 24/7" buttontext2="+1-795-5582-795" image="http://rayoflightthemes.com/wordpress-themes/vaxi-wordpress-theme/wp-content/uploads/2021/09/Hero-Img.jpg" buttonurl="https://themeforest.net/user/rayoflightt?ref=rayoflightt" buttontext="Buy here" external="_blank"]
Options for tag are H1 and H2. Read more about slider in "how to set slider" section.

Widgets

- Widgets are default WordPress feature. To open widgets go to appearance/widgets in dashboard. Official WordPress documentation: https://codex.wordpress.org/WordPress_Widgets
- Theme has 8 widget areas. In theme setup at top of the page is explained how to import demo widgets.

Custom post types

Theme has 1 custom post type for Team filterable posts. Every post is for one team member. With page builder's element "Team boxes with filter option" this custom post type can be added in page where you want it to appear.

Other custom post types are from plugins "Owl carousel" and "Popup anything".

How to set permalinks

- Permalinks are in dashboard/settings/permalinks.
- It is recommended to have this permalinks structure (see screenshot):
- If you get "404 page no found" error when trying to open page or post, after theme switch or plugin deactivation it is recommended to "reset permalins".
How to reset permalinks?
- Set permalinks to default (plain) and click button "save changes".
- Set permalinks to "post name" and click button "save changes".
- Done.

Plugins

Rt Vaxi Theme Functions plugin - theme functions and custom post types plugin, bundled with theme.

Elementor page bulder plugin. https://wordpress.org/plugins/elementor/

Advanced custom fields plugin. https://wordpress.org/plugins/advanced-custom-fields/

Contact form 7 plugin. https://sr.wordpress.org/plugins/contact-form-7/

SVG support plugin - allows SVG images uploading. (Upload SVG images in media library first.) https://wordpress.org/plugins/svg-support/

Breadcrumbs plugin. https://wordpress.org/plugins/breadcrumb-navxt/

Owl carousel plugin. https://wordpress.org/plugins/lgx-owl-carousel/

Popup anything on click plugin. https://wordpress.org/plugins/popup-anything-on-click/

For post's list widget, this plugin is recommended: Latests post plugin. https://wordpress.org/plugins/latest-posts/

Child theme

- Basic child theme "vaxi-child.zip" for this theme is in main_file.zip.
- Official WordPress documentation about Child themes: https://codex.wordpress.org/Child_Themes
- It is recommended to activate child theme if you make code customizations and to copy/paste all files from parent theme with code custom changes in child theme.

How to change color

New! In theme version 1.0.8 new feature added for changing global colors in Customizer (dashboard/appearance/customize). Open "Global colors" settings in Customizer, be sure to choose "main2-globalcolors.css added" option and then change global theme colors. Colors are unlimited. (It is recommended that the color that you add instead of default one has similar lightness and saturation to default color to better fit design).
Below is the old method for changing color. Recommended only if you need to make advanced changes with less file, requires coding knowledge.
Lot of elements from theme demo can have changed color in page builder. Be sure to first check that. But if you need more detailed color change then contiune reading.
- It is recommended to use child theme and main.less file to change color.
Steps for color change
a) Activate Child theme.
b) Install and activate this plugin: https://sr.wordpress.org/plugins/lessify-wp/.
c) Go to "appearance/customize/add main.less file" and mark the second checkbox "add main.less file" (this will add main.less file in theme).
d) Open main.less file from child theme in your hosting C-panel or via FTP.
e) In that file find HEX code for color (it's in top of file) and replace it with HEX code for color you want to have on site.
f) Save changes. New color should appear on site.

g) You can leave it that way and continue using the theme if you're more comfortable that way (you don't like to work with code) or (that is recommended) go to one of less-to-css online compilers like: https://jsonformatter.org/less-to-css and copy in there all code from child theme main.less file, paste into editor and convert into css code. Then, open child theme style.css file and copy/paste converted css code from compiler into it. After this, lessify plugin should be deactivated and style.less file removed from site in "appearance/customize/add main.less file".

- There will probably be parts of site where color is added via page builder element so it will need to be changed manually in that page builder element.

- To find HEX value for color you can use Photoshop or other software for graphic or take a look at this online color picker: http://www.w3schools.com/tags/ref_colorpicker.asp

- In theme demo site, colors assigned to these color variables are:
@first-color: #0a083b;
@second-color: #387efa;
@third-color: #2471fb;
@fourth-color: #19B8AF;
@fifth-color: #FE5858;
@sixth-color: #4D9CFF;
@seventh-color: #FFB71A;
@eighth-color: #E8F2FF;
@nineth-color: #c5dcfa;


- to change HEX code to RGBA code go to this site: http://hex2rgba.devoth.com/

Custom styling classes for Elementor columns

All these classes are already in demo content.
"box-shadow" and "box-shadow-hover" are two custom classes that can be added in Elementor page builder columns or elements to get box shadow feature.
"box-shadow-1025" - for box shadow above 1025px.
"icons2ab-centered1025" - icons2 centered under 1025px.
"fullwidth1025" and "fullwidth767" - full width under 1025px and 767px for custom button1.

Theme translation

Theme has pot file included, that means text strings in dashboard can be translated. Activate translation plugin (can use Polylang). https://wordpress.org/plugins/polylang/ Check if "languages" tab in settings appears. In theme folder "languages" default pot file is included. To translate text strings in theme, please rename vaxi.pot file to "language code" for language you want to translate in, for example if you translate to Portugales language code is "pt_BR" so vaxi.pot should be renamed to "pt_BR.po". Then open the file with Poedit and translate text strings. http://poedit.net/ More details about WordPress translation here :http://codex.wordpress.org/WordPress_in_Your_Language http://codex.wordpress.org/Installing_WordPress_in_Your_Language

How to reorder posts

- Install and activate this plugin: https://wordpress.org/plugins/post-types-order/
- It adds "reorder posts" button for all posts and custom post types and you can manually reorder them.

Favicon

Upload favicon in appearance/customize/site identity/site icon. Official documentation: https://codex.wordpress.org/Creating_a_Favicon

Sources and credits

TGM plugin activation https://github.com/thomasgriffin/TGM-Plugin-Activation
All free plugin mentioned above from WordPress respository.
Bootstrap css framework,
Font Awesome font icons,
lightbox.js,
waypoints.js,
slick.js,
Google fonts,
jQuery.js,
imagesloaded.js,
isotope.js,
magnific popup.js,

Demo images credit

Images are not included for download. Images are slightly transformed to fit design. Images and icons credit: http://flaticon.com/ , https://elements.envato.com/
go to top

Copyright RayoflightThemes.com 2021.