Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

place custom code

    • 6 years, 4 months ago imme
      Participant

      Hi!

      Im about to integrate a chatting service on my website and i’ve gotten the code that should be placed before </body>. How can i do that?
      Its a script.
      Best regards,

      Kim

    • 6 years, 4 months ago Ruco
      Keymaster

      Hello,

      I don’t know which chat service have you used before, but i can suggest you to use Drift.com that can be installed directly with a plugin.

      Let me know.

      Regards!

    • 6 years, 4 months ago imme
      Participant

      Hi,

      I already have a chat service. And ive gotten their code looking like below.
      How do I implement this on my website?


       

      <div dir="ltr" style="padding-top: 0px; border-top: 0px;">
      <div class="WordSection1" style="page: WordSection1;">
      <p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><script type="text/javascript"></p>
      <p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">(function(d, src, c) { var t=d.scripts[d.scripts.length - 1],s=d.createElement('script');s.id='la_xxxxxxx';s.async=true;s.src=src;s.onload=s.onreadystatechange=function(){var rs=this.readyState;if(rs&&(rs!='complete')&&(rs!='loaded')){return;}c(this);};t.parentElement.insertBefore(s,t.nextSibling);})(document,</p>
      <p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">'https://psservice.liveagent.se/scripts/track.js',</p>
      <p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">function(e){ LiveAgent.createButton('5015fcaf', e); });</p>
      <p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"></script></p>

      </div>
      </div>

      • This reply was modified 6 years, 4 months ago by imme.
    • 6 years, 4 months ago Ruco
      Keymaster

      Hello,

      You can add this code into header.php file. Normally this will be better to create a child-theme and overwrite only header.php file.

      Let us know.

      Regards!

Viewing 3 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password