Get URL Param Plugin and Inserting Result in Widget Code

I am trying to insert the result from a Get Param plugin and insert it into a calendly widget on a WP page.

In a code module, if I write the plugin syntax of:
[urlparam param=”Book” /]

-and- the url of the page is:
https://www.jetdental.com/booking/?Book=calendly.com/jetdental-whitening/podium-teeth-whitening

…it displays correctly: calendly.com/jetdental-whitening/podium-teeth-whitening

Now, when I try and place that plugin syntax within other code, it doesn’t honor the plugin. Example:

<!– Calendly inline widget begin –>
<div class=”calendly-inline-widget” data-url=”[urlparam param=”Book” /]” style=”min-width:320px;height:580px;”></div>
<script type=”text/javascript” src=”https://assets.calendly.com/assets/external/widget.js”></script>
<!– Calendly inline widget end –>

Is there some kind of syntax I am missing for embedding this code within an inline widget code?

Thank you!

Read more here:: Get URL Param Plugin and Inserting Result in Widget Code

Leave a Reply

Your email address will not be published. Required fields are marked *