• Resolved Conversie Partners

    (@conversieartners)


    Hi,

    I’m using Boxzilla on the website maarten-koning.nl and have put the code into the href like you’ve told on your website.

    Preview: http://prntscr.com/gh96ay

    But everytime you’ve reach WYSIWYG, then the javascript will be filtered out of the HTML.
    Why is this filtered and how can we fix this?

    Thanks in advance

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Lap

    (@lapzor)

    Hi,

    You can change your user role to allow javascript. I think that should solve it:

    https://codex.ww.wp.xz.cn/Roles_and_Capabilities#unfiltered_html

    I’ve added a feature request to generate this link with a shortcode instead. Not sure if/when that feature will actually be added.
    https://github.com/ibericode/boxzilla-wp/issues/108

    Hope that helps!

    Kind regards,

    Plugin Author Danny van Kooten

    (@dvankooten)

    Hi Conversie Partners,

    We’ve just pushed out an update of the plugin that allows you to use a [boxzilla_link] shortcode that generates the correct link HTML for you, without the risk of it being filtered out.

    Here’s some info on how to use how to use the shortcode.

    Looking at your screenshot, the available shortcode arguments should be enough to generate exactly the same HTML by using the following shortcode:

    
    [boxzilla_link box="2204" class="btn btn-default ferryvanacker"]Vraag onze brochure aan[/boxzilla_link]
    

    Hope that helps!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Javascript filtered out of HREF’ is closed to new replies.