- This topic has 1 reply, 2 voices, and was last updated 3 years, 8 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking How to remove ‘Required fields are followed by *’ from search form?
Hi,
I would like to remove the following from the availability search form block:
Required fields are followed by *
I have added the following into my theme’s function.php file, & it hasn’t worked?
add_action( 'wp_head', 'remove_renderRequiredFieldsTip' );
function remove_renderRequiredFieldsTip(){
remove_action( 'mphb_sc_search_render_form_top', array( '\MPHB\Views\GlobalView', 'renderRequiredFieldsTip' ), 40 );
}
Thanks for your time!
Hello Matthew,
The text you are referring to does not appear to be a function, you should simply add the following code under Appearance ->Customize ->Additional CSS in order to hide it:
.mphb-booking-form .mphb-required-fields-tip {
display: none;
}
Regards,
Andre
This website uses cookies
By clicking “Accept All”, you agree that we can store cookies on your device and disclose information in accordance with our Cookie Policy
Necessary Cookies
These cookies are essential for website functionality and cannot be disabled.
Advertising
These cookies, set by us and our advertising partners, aim to give you useful content and measure how well it works.
Analytics
These cookies help us improve performance by tracking user interactions on our website.