Free and Premium WordPress Plugins & Themes Forums WordPress Themes Villagio Can i modify the ID of [mphb_availability] because double ID
- This topic has 1 reply, 2 voices, and was last updated 2 years ago by
J. Davis.
- AuthorPosts
- March 25, 2023 at 11:40 am #1433629
Folio Mikael
ParticipantHello,
is it possible to modify the id of the form generated by [mphb_availability] (ex: [mphb_availability id=”663″ class=”hebergement6632″]. My problem is the following; I put a shortcode at the beginning of my page and another shortcode at the end of the page. In terms of display it’s very good but there is a problem, I end up with the same ID twice in the page (in the example the form takes the id booking-form-663 at the top and bottom of the pageIs there a solution?
Thanks in advance
March 26, 2023 at 2:26 pm #1433881J. Davis
KeymasterHi Folio,
Actually, it is possible to add as many forms with different IDs as you need and they should work independently. For example, you may use the shortcodes
[mphb_availability id=”333″ class=”hebergement6632″]
[mphb_availability id=”777″ class=”hebergement6632″]
[mphb_availability id=”999″ class=”hebergement6632″]
etc….
Each shortcode should display the form and availability of the specific accommodation type.best regards,
John Davis - AuthorPosts
- You must be logged in to reply to this topic.