Support » Plugin: WPtouch » script tag is not allowed when i customize the footer

  • Resolved smartben

    (@smartben)


    I found that the raw code of <script> in the footer is displayed on the page after updating wptouch to version 4.3.19.

    I could customize the footer before updating wptouch. And <script> works correctly. What’s more, the hint, HTML is allowed, indicates that <script> is also allowed.

    Now I have to modify the Bauhaus theme, but it will be overwritten after next update.

    So must I buy the pro version to use the child theme?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Contributor Zach Wills

    (@oxymoron)

    Hey Ben,

    I’m sorry that you’re having trouble after the latest update. This could be related to the changelog item about adding additional escaping to some of the output functions.

    Can you share a URL to your site so I can see the issue? Also, you shouldn’t actually need the child theme extension to create a child theme. That extension makes the process easier, but you can do it manually. If you are comfortable with editing the template files, you should be able to make a copy of Bauhaus and create a child theme manually.

    Regards,

    Zach

    smartben

    (@smartben)

    @oxymoron

    Hi Zach,

    Thank you for your answer. I thought it’s a freature. But now I know it’s a bug.

    This topic is resolved.

    Plugin Contributor Zach Wills

    (@oxymoron)

    Hey Ben,

    I’ll go ahead and mark this support thread as resolved. Something else I wanted to mention is if you want to add JS to the footer of your site you can also look to do so through the use of the wp_footer action. A plugin like https://wordpress.org/plugins/header-and-footer-scripts can make this process easier and should be compatible with WPtouch.

    I have the same isue after the last update.
    The Google Tagmanager script is shown now in the (wptouch)footer.
    See: http://www.dierencrematorium-emmen.nl

    regards, Gerard

    Plugin Contributor Zach Wills

    (@oxymoron)

    Hey GereardL & smartben,

    We just released version 4.3.21 to fix this issue. Let me know if you have any other issues!

    Regards,

    Zach

    • This reply was modified 9 months, 2 weeks ago by  Zach Wills.

    Hi Zach,

    I wasn’t panicking 🙂
    The update works fine, thank you!

    regards, Gerard

    balaji007

    (@balaji007)

    Hey,
    I don’t know much of javascript. I wanted to add a custom HTML Ad bar on my wordpress account.
    I got the code generated by google adsense.
    When i pasted it on my wordpress widget bar, it gave me an error
    Tag <script> is not allowed.
    Please help me resolve this.

    Same here. I on a personal plan and wanted to add google adsense code in the header. However, when i tried to paste the code, it says tag <script> is not allowed.
    Am i missing something?

    Same problem. I am on a free plan being hosted on third level wordpress domain, can’t add any <script> tags, is this intended behavior or not?

    newmillennialpublishing

    (@newmillennialpublishing)

    I’m having a similar issue with adding a custom html widget.

    I’m trying to paste a Google Adsense Code, and when I add it to ‘content’ I get an error message saying ‘tag <script>’ is not allowed.

    Any suggestions or have I missed something here?

    newmillennialpublishing

    (@newmillennialpublishing)

    I’m pasting my ‘Custom HTML’ Google Adsense to the sidebar, I forgot to add.

Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.