CMS Development

IRVendor
メンバー

CTA Button's code appearing outside button

Vendor_Directory_Call-To-Action_Extra_Code.png 

 

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! 

 

 

 

0 いいね!
2件の返信
subin
トップ投稿者 | Gold Partner
トップ投稿者 | Gold Partner

CTA Button's code appearing outside button

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

IRVendor
メンバー

CTA Button's code appearing outside button

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 -->

0 いいね!