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 3 replies - 1 through 3 (of 3 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

    @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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘script tag is not allowed when i customize the footer’ is closed to new replies.