Need help installing script in betheme

edited June 2017 in Other
I manually have to install a widget (not a shortcode) on a page in betheme.

The documentation says i have to insert this code:

<!-- This is the placeholder that contains the widget. --> 

<div id="_mwcloudCTT"></div>

<!-- Script that loads the widget in the container. -->

<script
src="http://www.mywellness.com/<facilityUrl>/ClassTimetable/?isWidget=True&langu
age=<language>"></script> 

Obviously i have the facilityurl. Where in betheme do i install this?

I already tried it on this page: https://sport-natural.nl/aspirationfinder/




Comments

  • Hi,
    you can pass this into any of the files locatedin theme options>SEO
    http://prntscr.com/fhpl2w
    The top one loads in the header
    the bottom one loads in the footer

    Our policy clearly states that we do not support third party plugins or custom code so unfortunately we cannot help any more with this.
  • Hi,
    thanks for your quick response! The solution you provided is for all pages. Is there a way i can use this in 1 page (i already tried custom css, but that doesn't seem to work).

    If this is a question beyond be theme let me know.
  • There is no possibility to put custom JS on just one page except editing the header and placing the JS code into a IF PHP statement.
    Yes it is beyond the theme.
  • Ok, thanks for clearing it up! I will look it up. Thanks for your help.
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.