Adding code before closing body

Hi there,

I need to do this:

“Paste the embed code just before the closing tag of your website template file.”

Please how can I achieve this?

Hi @ifkda,

Thanks for reaching out.
To insert a script just before closing the body tag. If that is the case, you can add the code using any of the free plugins from the WordPress repository. Please find the article on how to add the code in header & footer and also the plugin that helps you.


Hope it helps.
Thanks

Hi there,

Have added the code that I needed but it is still not working.

view-source:https://virtualemploymentlawacademy.com/

Hello @ifkda,

I checked your site it seems that there are JS console errors, it might be due to plugin conflict or JS customization error just because your other code is not working properly. Please have a look at the screenshot in the secure note.

I would suggest you troubleshoot with a few of the common issues before we investigate your settings.

  1. Testing for Plugin Conflict
  2. CSS/JS Customization
  3. Version Compatibility
  4. Disabling Cache
  5. Child Theme

In case if it doesn’t work for please share your details in a secure note. Please provide the following details

  • WordPress Login URL
  • Admin level username and password

You can find the Secure Note button at the bottom of your posts

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.