How to remove the price part in search box

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #8046
    bleuvert
    Participant

    Hello

    There is a filter search bar showed if you click the different trips type,trips. The two other filter after “price bar”is type ,location, then a button “show”.

    I’d like to know if We can remove this “price filter bar” and just keep the “trip type” ,”location” filter part. How to do that?

    Thanks for your answer.

    #8056
    Support Team
    Keymaster

    Hello @bleuvert,

    We are actually having trouble understanding your query regarding the “Price Bar” filter.

    Please provide us your website URL / Screenshot of the section or page that you are willing to make changes to so that we can check the issues further and provide you with some precise fixes.

    Best Regards !!

    #8057
    bleuvert
    Participant

    The screenshot like below,please go to URL

    https://mmdgo.com/wp-content/uploads/2018/09/filtrer-search.jpg

    The part filter price of trips for search.

    #8059
    Support Team
    Keymaster

    Hello @bleuvert,

    To remove the price filter from the archive page filter, you will need to add the following code in your child theme’s functions.php file :

    add_filter( 'wp_travel_post_filter_by_price', '__return_false' );

    This will remove the price filter from the top bar in archive pages and allow only two remaining filters to be displayed and used.

    If you have any issues/queries or requests further, please feel free to write back to us.

    Best Regards !!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘WP Travel’ is closed to new topics and replies.