Hide built-in listing booking fields

Hi, I’d like to remove some optional lines from the ad addition (screenshot attached)

@ihor @yevhen @serhii please can you reply my question i need to hide some lines in add liste page… thanks you very much

Sorry for the late reply. Please try this PHP snippet Hide the booking offset and window fields in the listing form #hivepress #bookings · GitHub

Please let me know if it hides fields that you want to hide

@yevhen hi, the elements that I want hidden in the addition of the ad are: the tags, the reservation window, the maximum number of days of reservation, and the option to download an element (after extra and description) thank you

Please try this PHP snippet

		// Hide tags field.
		// Hide booking window field.
		// Hide maximum booking duration field.
		// Hide booking export url field.
		return $form;

It is possible to hide other fields in the listing update/submit forms with this code snippet just by changing field names. It is possible to check the built-in field name with the dev tools in your browser. If you are not familiar with the code customization then please consider hiring someone for custom work https://fvrr.co/32e7LvY

1 Like

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