Adding the trip filter section is necessary but sometimes you may feel the necessity to remove the trip filter section from the archive page of your site. If you came here to know how to remove the trip filter section then you came to the right place. We will share easy guidelines to remove the trip filter.

The trip filter is important if you have lots of packages. But sometimes to make your customers well known about your new trip packages, you will also need to remove them. Because by doing this, your customers will learn about the other packages of your site that they can avail themselves of in the future. Or, they can suggest it to their friends and families.

Table of content:

  • What is the trip filter section?
  • How to remove the trip filter section from the archive page.

What is the trip filter section?

The trip filter section is a module for travel sites by that your customers can find their preferable trip packages by filtering out the packages with their necessary search variables. By using this filter, your customers can easily find their package in less time and effort.

Luckily, With WP Travel you can add this module to your site on any page you want. This module is necessary for those travel sites that offer lots of packages to their customers. Because it will be a hassle for your customers to find the desired trip packages from this huge amount of available trip packages. Moreover, your customers will get confused because of lots of options.

But, sometimes if you feel the need to remove the trip filter section from the archive page then you can also do that with the WP Travel plugin. Besides, you can do it within a few seconds by adding code to your functions.php file. Let’s find out how to do it in less than a few seconds.

Remove the trip filter section

If you want to remove the filter section which is available on the archive page, the WP Travel plugin provides the feature regarding removing the trip filter section available on the itinerary page using a filter hook. So, please add the following given code in the functions.php file of your child theme.

add_action( 'init', function() {
	remove_action( 'wp_travel_before_main_content', 'wptravel_archive_toolbar' );
} );

For detail information regarding how to create a child theme, please refer to our Knowledgebase.

Remove the Trip Filter section:

Remove the trip filter section

Also, if you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on FacebookInstagram, and Twitter.

Further, if you have any queries/confusion then please submit them to our Contact page.