# Hide Open Now button on listings page

**URL:** <https://community.hivepress.io/t/hide-open-now-button-on-listings-page/10065>\
**Category:** Opening Hours\
**Tags:** opening-hours\
**Created:** [March 8, 2024, 6:47pm UTC](https://community.hivepress.io/t/hide-open-now-button-on-listings-page/10065 "2024-03-08T18:47:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![doyoulocal](https://community.hivepress.io/letter_avatar_proxy/v4/letter/d/e95f7d/32.png) [@doyoulocal](https://community.hivepress.io/u/doyoulocal)\
**Post date:** [March 8, 2024, 6:47pm UTC](https://community.hivepress.io/t/hide-open-now-button-on-listings-page/10065/1 "2024-03-08T18:47:32Z")

</div>

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 ☹

---

<div class="post-metadata">

**Author:** ![andrii](https://community.hivepress.io/user_avatar/community.hivepress.io/andrii/32/2951_2.png) [@andrii](https://community.hivepress.io/u/andrii)\
**Post date:** [March 11, 2024, 9:27am UTC](https://community.hivepress.io/t/hide-open-now-button-on-listings-page/10065/3 "2024-03-11T09:27:05Z")

</div>

Hi,

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

---

<div class="post-metadata">

**Author:** ![doyoulocal](https://community.hivepress.io/letter_avatar_proxy/v4/letter/d/e95f7d/32.png) [@doyoulocal](https://community.hivepress.io/u/doyoulocal)\
**Post date:** [March 12, 2024, 5:50pm UTC](https://community.hivepress.io/t/hide-open-now-button-on-listings-page/10065/4 "2024-03-12T17:50:08Z")

</div>

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.

 ![image](https://community.hivepress.io/uploads/default/original/2X/f/fa71b994a2eeda36ff4ef3bcd26cc930534faa19.jpeg)

Thank you for any time you have for this!

---

<div class="post-metadata">

**Author:** ![andrii](https://community.hivepress.io/user_avatar/community.hivepress.io/andrii/32/2951_2.png) [@andrii](https://community.hivepress.io/u/andrii)\
**Post date:** [March 13, 2024, 11:32am UTC](https://community.hivepress.io/t/hide-open-now-button-on-listings-page/10065/6 "2024-03-13T11:32:37Z")

</div>

Hi,

Please use this PHP snippet:

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

		return $form;
	},
	1000
);

```

I believe this will be useful to you.

---

<div class="post-metadata">

**Author:** ![doyoulocal](https://community.hivepress.io/letter_avatar_proxy/v4/letter/d/e95f7d/32.png) [@doyoulocal](https://community.hivepress.io/u/doyoulocal)\
**Post date:** [March 14, 2024, 2:18am UTC](https://community.hivepress.io/t/hide-open-now-button-on-listings-page/10065/7 "2024-03-14T02:18:25Z")

</div>

sadly no, it did not help

---

<div class="post-metadata">

**Author:** ![andrii](https://community.hivepress.io/user_avatar/community.hivepress.io/andrii/32/2951_2.png) [@andrii](https://community.hivepress.io/u/andrii)\
**Post date:** [March 14, 2024, 10:46am UTC](https://community.hivepress.io/t/hide-open-now-button-on-listings-page/10065/9 "2024-03-14T10:46:52Z")

</div>

Hi,

Please make sure you add this PHP snippet using this doc: [How to add custom code snippets - HivePress Help Center](https://help.hivepress.io/article/23-how-to-add-custom-code-snippets). 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.

---

<div class="post-metadata">

**Author:** ![system](https://community.hivepress.io/user_avatar/community.hivepress.io/system/32/13990_2.png) [@system](https://community.hivepress.io/u/system)\
**Post date:** [April 13, 2024, 10:47am UTC](https://community.hivepress.io/t/hide-open-now-button-on-listings-page/10065/10 "2024-04-13T10:47:27Z")

</div>

Closed on April 13, 2024, 10:47am UTC

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