thank you for purchasing Amelia, and for your kind inquiry!
You could achieve this with the help of some plugin which has the possibility to use PHP Snippets, and add shortcodes on the page in that way. For example:
1. There's the page (where you want the booking form to be), and when you're creating links that lead to that page, in URL you need to place the ID for the employee (http://somesite/booking?employee=17)
2. On that page (where you want the booking form to be), instead of our shortcode, you'd need to add the shortcode of that plugin which uses PHP Snippet which will generate our shortcode (https://wordpress.org/plugins/insert-php-code-snippet/).
Dear, I would like to use the shortcode [ameliabooking employee=1 service=1] with variables: [ameliabooking employee=$variable1 service=$variable2]
Is this possibe?
Thanks,
Hans
Hello Hans,
thank you for purchasing Amelia, and for your kind inquiry!
You could achieve this with the help of some plugin which has the possibility to use PHP Snippets, and add shortcodes on the page in that way. For example:
1. There's the page (where you want the booking form to be), and when you're creating links that lead to that page, in URL you need to place the ID for the employee (http://somesite/booking?employee=17)
2. On that page (where you want the booking form to be), instead of our shortcode, you'd need to add the shortcode of that plugin which uses PHP Snippet which will generate our shortcode (https://wordpress.org/plugins/insert-php-code-snippet/).
3. The snippet would look something like this:
I hope that helps.