Label above 'Open now' in sidebar filter

Hi,

Is it possible to add a label above the ‘Open now’ field? I’d like to add some kind of label above it.

Hi,

Please try this PHP snippet (How to add custom code snippets - HivePress Help Center):

add_filter(
	'hivepress/v1/forms/listing_filter',
	function( $form ) {
		if(isset($form['fields']['_open'])){
		  $form['fields']['_open']['label'] = 'custom text here';
		}

		return $form;
	},
	1000
);

Please note that you may require additional customizations in the future.

2 Likes