# The price without /night

**URL:** <https://community.hivepress.io/t/the-price-without-night/17566>\
**Category:** Bookings\
**Created:** [March 28, 2026, 2:59pm UTC](https://community.hivepress.io/t/the-price-without-night/17566 "2026-03-28T14:59:31Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![ChrisB](https://community.hivepress.io/user_avatar/community.hivepress.io/chrisb/32/14185_2.png) [@ChrisB](https://community.hivepress.io/u/ChrisB)\
**Post date:** [March 28, 2026, 4:37pm UTC](https://community.hivepress.io/t/the-price-without-night/17566/3 "2026-03-28T16:37:24Z")

</div>

Hi @BernardC,

You can remove this using the following code snippet:

```auto
<?php
add_filter(
	'hivepress/v1/models/listing/fields',
	function( $fields, $model ) {
		if ( isset( $fields['price'] ) ) {
			$fields['price']['display_template'] = '%value%';
		}

		return $fields;
	},
	1000,
	2
);

```

If you’re unsure how to add code snippets, please check out this article:

- [How to add custom code snippets - HivePress Help Center](https://share.google/cINSjq0lPmtdcJWgF)

I hope this helps!

Edit: if the above snippet doesn’t work, kindly try the other suggestions I provided here:

- [How to remove the /night or /day on the listing](https://community.hivepress.io/t/how-to-remove-the-night-or-day-on-the-listing/17027)

Cheers,  
Chris ✌

---

_[View the full topic](https://community.hivepress.io/t/the-price-without-night/17566)._
