I would like to hide the filter on the listing

I would like to hide the filter on the listing.

I want to hide the search bar in the red circle. This is the listing listings screen.
(I would like to keep the search bar in the vendor listings.)

We would appreciate it if you could tell us how to handle this.

If you mean entirely removing the listings filter form then please try this PHP snippet

add_filter(
	'hivepress/v1/templates/listings_view_page',
	function ($template){
		return hivepress()->helper->merge_trees(
			$template,
			[
				'blocks' => [
					'listing_filter_modal' => [
						'type' => 'content',
					],
				],
			]
		);
	},
	1000
);

Thank you so much for getting this up ASAP!

The filter function is no longer available. I would like to hide the filter bar with the red circle if possible.

Is that possible?

If you mean to hide the listing filter button on the mobile then please try this CSS snippet

.hp-template--listings-view-page .hp-button--mobile.hp-button--listing-filter{
	display: none !important;
}

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.