We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Mar 21, 2018 3:08 PM - edited Mar 21, 2018 3:08 PM
When Placing a CTA Button on our website, the code appears outside of the button. These buttons work on other places on our website just perfectly, so I wondering if this is happening because these are templated boxes in wordpress or because there is no <?php wp_footer(); ?> at the bottom of these web pages.
Any help here would be... helpful. Thanks!
Mar 22, 2018 12:02 AM
Hi @IRVendor Can you please mention where you used this code? on Wp widget or custom php file? Can you provide any link for checking
Note, Please try to paste the embed CTA code completely together with the script
Thanks
May 1, 2018 1:58 PM
Hi Subin,
This code was used inside of a Wordpress Widget, and not a custom Php File. In order to provide a link I would need to have this error live on our website.
The embed CTA code was placed properly as shown below:
<!--HubSpot Call-to-Action Code --><span class="hs-cta-wrapper" id="hs-cta-wrapper-0d08f046-d28f-4d99-8436-294dc4127a3c"><span class="hs-cta-node hs-cta-0d08f046-d28f-4d99-8436-294dc4127a3c" id="hs-cta-0d08f046-d28f-4d99-8436-294dc4127a3c"><!--[if lte IE 8]><div id="hs-cta-ie-element"></div><![endif]--><a href="https://cta-redirect.hubspot.com/cta/redirect/2327561/0d08f046-d28f-4d99-8436-294dc4127a3c" target="_blank" ><img class="hs-cta-img" id="hs-cta-img-0d08f046-d28f-4d99-8436-294dc4127a3c" style="border-width:0px;" src="https://no-cache.hubspot.com/cta/default/2327561/0d08f046-d28f-4d99-8436-294dc4127a3c.png" alt="Download"/></a></span><script charset="utf-8" src="https://js.hscta.net/cta/current.js"></script><script type="text/javascript"> hbspt.cta.load(2327561, '0d08f046-d28f-4d99-8436-294dc4127a3c', {}); </script></span><!-- end HubSpot Call-to-Action Code -->