Hide Open Now button on listings page

I love the idea of this button, but can it be adjusted to a row beneath the search so that it does not consume an entire column of my search results? if not, how deo I eliminate it all together? the snippet from Oct '22 did not seem to work for me :frowning:

Hi,

โ€‹Please send more details about this question, and we will do our best to help you.

The Open Now button which I presume deals with the business hours to show if the business is currently open. Its placement on the page is in the sidebar and uneditable as far as I can tell.

Thank you for any time you have for this!

Hi,

Please use this PHP snippet:

add_filter(
	'hivepress/v1/forms/listing_filter',
	function( $form ) {
		unset($form['fields']['_open']);	

		return $form;
	},
	1000
);

I believe this will be useful to you.

sadly no, it did not help

Hi,

Please make sure you add this PHP snippet using this doc: How to add custom code snippets - HivePress Help Center. Also, please disable third-party plugins and customizations (if any) and check if this issue persists. If you use a caching plugin, ensure that caching is disabled for logged-in users.

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