Unfortunately, currently, this feature is not built-in in Amelia. You need to create a page in WordPress and then you can add our regular shortcode on that page this is how Amewlia works at this time.
If you have any more questions please open a new separate ticket for each question and we will gladly help you there.
I really need to display the Amelia booking form in a loop. The loop will output the services based on multiple parameters which can not be chosen in Amelia. So the services are processed at the backend and displayed in a loop. This is why the booking forms are not static, they are dynamic based on the processing output.
If the shortcode with the do_shortcode function won't work, is it possible to use the callback function itself in the template file? I really need this to make the website work. Amelia is perfect for everything else that I need, and I figured I could use the native WordPress functions to make it work.
That's the code I was trying with, but it doesn't display the shortcode output. This is my code
// Get the booking shortcode from the post meta $booking = get_post_meta( get_the_ID(), 'booking_code', true ); // Check if the booking shortcode exists if ( ! empty( $booking ) ) { // Display the booking form by executing the shortcode echo do_shortcode('[ameliastepbooking service=61 employee=19]'); }
I am just trying it with the static input [ameliastepbooking service=61 employee=19] right now.
I want to display the step form directly from the theme. For this I am using the do_shortcode function, something like this
echo do_shortcode ('[ameliastepbooking service=61 employee=19]');
I want to know if this is possible as at the moment it is not getting displayed, as seen in this link
https://sandeepac2.sg-host.com/matched-therapists/?individualailment=Addiction&age=44
Hello Sandeepa,
Thank you for reaching out to us.
Unfortunately, currently, this feature is not built-in in Amelia. You need to create a page in WordPress and then you can add our regular shortcode on that page this is how Amewlia works at this time.
If you have any more questions please open a new separate ticket for each question and we will gladly help you there.
We wish you all the best.
Have a nice day.
Kind Regards,
Marko Davidovic [email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, floor plans, choropleth maps, and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
I really need to display the Amelia booking form in a loop. The loop will output the services based on multiple parameters which can not be chosen in Amelia. So the services are processed at the backend and displayed in a loop. This is why the booking forms are not static, they are dynamic based on the processing output.
If the shortcode with the do_shortcode function won't work, is it possible to use the callback function itself in the template file? I really need this to make the website work. Amelia is perfect for everything else that I need, and I figured I could use the native WordPress functions to make it work.
Hello Sandeepa,
We have forwarded your ticket to our level 2 agents and as soon as we get some feedback from them we will contact you immediately.
Kind Regards,
Marko Davidovic [email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, floor plans, choropleth maps, and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Thank you so much, I am really hoping this works out.
Hello Sandeepa,
We just got the feedback from our colleagues and they have told us that you can try this
Hope this helps.
Kind Regards,
Marko Davidovic [email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, floor plans, choropleth maps, and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Marko
That's the code I was trying with, but it doesn't display the shortcode output. This is my code
// Get the booking shortcode from the post meta
$booking = get_post_meta( get_the_ID(), 'booking_code', true );
// Check if the booking shortcode exists
if ( ! empty( $booking ) ) {
// Display the booking form by executing the shortcode
echo do_shortcode('[ameliastepbooking service=61 employee=19]');
}
I am just trying it with the static input [ameliastepbooking service=61 employee=19] right now.
Hello Sandeepa,
We have forwarded your ticket to our level 2 agents again and as soon as we get some feedback from them we will contact you.
Kind Regards,
Marko Davidovic [email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, floor plans, choropleth maps, and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi, any update on this?
Hello Sandeepa,
We just got the feedback from our colleagues and they have told us that to ask you
It is possible you are calling the code before add_shortcode has been called, Try calling the function that renders the html directly:
Looking forward to your reply.
Kind Regards,
Marko Davidovic [email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, floor plans, choropleth maps, and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi
This didn't give the required result.
We have decided to bring this functionality in the next release of the website. So I'll get back on this in a few days.
Hello Sandeepa,
Once you do that please let us know how it goes then.
Looking forward to your reply.
Kind Regards,
Marko Davidovic [email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, floor plans, choropleth maps, and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables