Hi
I have to add the following to place an external hotel booking widget
<div class=”ibe” data-region=”apac” data-channelcode=”diamondbeachresortdirect” data-widget=”property_grid”></div>
I also have to
ADD THE FOLLOWING SNIPPET JUST BEFORE THE CLOSING BODY TAG(</BODY>):
<script src=”https://widget.siteminder.com/ibe.min.js”></script>
I hve tried to add it to my child function file but must be doing something wrong
can someone help me out please
Hey smarta-brett,
Please remove it and add this at the bottom of your child theme’s functions.php:
function custom_footer_script() {
?>
<script src="https://widget.siteminder.com/ibe.min.js"></script>
<?php
}
add_action('wp_footer', 'custom_footer_script');
Best regards,
Nikko
brilliant – worked like a charm !!
Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon