Search Documentation

WP Travel User Documentation

  1. Home
  2. Docs
  3. WP Travel User Documentation
  4. Support Queries
  5. How to remove the filter section from the trip archive page?

How to remove the filter section from the trip archive page?

To remove the  filter you need to add the small code snippet in your child themes functions,php file. To know how you can create and activate the child theme, please refer to below-given link: https://wptravel.io/how-to-create-a-child-theme/ After activating the child theme in your child theme’s functions.php file add below-given code:

remove_action( 'wp_travel_before_main_content', 'wp_travel_archive_toolbar' );

Screenshot:
Before using the hook:

AFter using the hook:

Was this article helpful to you? Yes No

How can we help?