WordPress.org

Ready to get started?Download WordPress

Forums

Usernoise modal feedback / contact form
[resolved] Clash with Cleanerpress head.js settings (4 posts)

  1. magdor
    Member
    Posted 1 year ago #

    The Usernoise buttons stops showing up when the Cleanerpress plugin head.js setting is ticked. Is there a fix for this?

    http://wordpress.org/extend/plugins/usernoise/

  2. karevn
    Member
    Plugin Author

    Posted 1 year ago #

    Please disable that setting. Usernoise injects a couple of lines of inline code to provide its javascript a configuration such as button color, text, etc., and "head.js" setting breaks inline scripts (according to its documentation).

  3. magdor
    Member
    Posted 1 year ago #

    Is this the only way to provide the configuration? This head.js setting provides a considerable performance boost.

  4. karevn
    Member
    Plugin Author

    Posted 1 year ago #

    I think it will be better to contact Cleanerpress developers in order to fix head.js setting the way it will not break inline scripts, becuase inline JS is the part of WordPress architecture and is used by many theme and plugin developers. You can find details here: http://codex.wordpress.org/Function_Reference/wp_localize_script

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic