I have three workers and want to be able to click on a button for that woker and have a form popup with that worker as the default. I’m trying to do it with ajax using the following code in my functions.php file:
echo ‘<div class=”appointment-modal”>’;
This just returns the shortcode text, not the form. Why would that be? I’ve tested other shortcodes and they work just fine.