• The site is running a modified child version of the Frontier theme. The site has been taken SSL, and we’d like to add the Thawte secure certificate logo, which comes in a short bit of javascript.

    However, when I put the javascript in the footer settings on the theme configuration screen, when saved, it strips out everything but the <script type=”text/javascript”></script>, removing everything between them.

    How can I get this to accept? Do I have to manually insert it into the DB to make it stay so the SSL site verification code will show up?

    Thanks!

    Vicky

Viewing 3 replies - 1 through 3 (of 3 total)
  • it strips out everything but the <script type=”text/javascript”></script>, removing everything between them…

    That’s a problem with the theme breaking the javascript, not WordPress as a whole. Where did you download the theme from?

    You can manually add the script to footer.php in the theme, not the database.

    Thread Starter meadwench

    (@meadwench)

    The theme is Frontier theme, from www.ads-software.com.

    I don’t need the code in the footer.php, rather as visible in the footer area of the theme, next to the copyright, site info and bottom menu.

    The theme is still breaking the javascript; the theme probably wasn’t designed to handle scripts in theme options.

    I don’t need the code in the footer.php…

    That’s your only option if the theme is breaking with the script in theme options. Try https://www.ads-software.com/plugins/insert-headers-and-footers/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WordPress stripping javascript for SSL verification image in theme footer code’ is closed to new replies.