Category: Knowledge Base

WP Travel email not functioning

While using WP Travel plugin, you may sometime face a problem where booking emails and contact form details may not be sent to the user. One reason for this could be that a mail() function may not have been working because your host provider may have disabled mail() function.  So here are the thing you can do. At first, you have to make sure your host has enabled the PHP mail functions. Secondly, you can try using the plugin like given below for the mail to function. https://wordpress.org/plugins/wp-mail-smtp/ If the issue persists then kindly contact to your server host and figure out the… Read More »

What is the default page for WP Travel all archive-trips?

This post is specially created to make you clear about the trips archive page. By default, the trip archive page is “itinerary” and URL structure is as given below: http://wptravel.io/core-demo/itinerary/ But in case if you wish to change the slug other than  “itinerary“,  you can do so from the permalink setting. To know how you can change the slug please refer to below given link: How to change the URL for the trips archive page?

How to create a child theme?

Creating the child theme is an easy process. You can create and activate the child theme in two different ways. First method: You can create and activate the child theme manually. To create the child theme manually please follow below given steps: Step 1: Go to your /wp-content/themes/ and create a folder for your new child theme. You may name it anything you’d like. For example, If you want to create the child theme of Travel Log, name it as travel-log-child. Step 2: Create a stylesheet file within the child theme folder. This must be named style.css. Copy and paste the… Read More »

How to create and use trip facts?

Trips Facts is a newly added feature in WP Travel plugin with version (1.3.2). If you are wondering about the process of using this feature then please go through the instruction mentioned below. You can enable the trip facts by going to Admin Pane -> Trips -> Settings -> Facts. How to add new trip facts? In order to add new trip facts, the user just needs to click on ” Add new” buttons. Clicking on the “Add new” button will make the filed appear where you need to enter the field name, select field Type and enter icon classes. Available Options: Field… Read More »

Override the templates available within the plugin

If you are not quite satisfied with the existing WP Travel plugin then the developer of the plugin has provided few template file that you can override as per your requirement. Here are the steps that you can follow to override the template file of the plugin. Step 1: Create the child theme of your current theme. Step 2: Create the folder “wp-travel” in the child theme. Step 3: Create the file within the folder “wp-travel” with the same name that you want to override. Step 4: Finally you can override the file as per your requirement. Note: The path that you need to follow to… Read More »

Change the default trip code

To change the default trip code that is generated by the plugin you can use the  filter given below: wp_travel_trip_code To execute this you need to activate the child theme. You can create the child theme manually or simply create the child theme using the plugin given below: WP Child Theme Generator After activating the child theme in your child theme functions.php add below given code. function wp_travel_child_change_trip_code( $trip_code, $post_id ){ return ‘YOUR TRIP CODE – ‘. $post_id; } add_filter(‘wp_travel_trip_code’,’wp_travel_child_change_trip_code’, 10, 2); Here replace ‘YOUR TRIP CODE” with your tripcode. Each trip will have the unique id behind but will have the same code that you enter here.