• Resolved audunmb

    (@audunmb)


    When I add a shortcode trough the shortcode block it doesn’t work. The quotes in the shortcode are transformed so
    [countup start="100000" decimals="0" duration="3"]72000000[/countup]
    shows as:
    [countup start=?100000″ decimals=?0″ duration=?3″]72000000[/countup]
    and doesn’t work.

    The same thing happens if I write the shortcode directly in a paragraph block (less surprisingly).

    The shortcode still works on pages made with Classic editor and other shortcodes work with the shortcode block even if they have quotes in the parameters.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Roel Magdaleno

    (@rokumetal)

    Hello @audunmb, this is very odd. I already tested it in a fresh WP installation and works perfectly.

    My guessing is that there is a plugin or theme conflict, can you try to disable the plugins and leave only the counter plugin? If that doesn’t work you could change your current theme to a original theme, please.

    If the error goes away then we need to track what plugin or theme is causing the issue.

    Thanks.

    Thread Starter audunmb

    (@audunmb)

    Thanks for replying.

    Seems like it’s not only your plugin though, and it doesn’t work in Classic editor, but it works in page builder elements.

    Some shortcodes work, even if they have quotes in them, some don’t. Even really old ones work. I have no idea why.

    It’s probably a conflict, it’s just really odd. I’ll test a bit over the weekend and let you know if there’s a fix.

    Thread Starter audunmb

    (@audunmb)

    Sorry, nothing wrong with your plugin, turns out it works just fine, but I had turned it off with Plugin Organiser.
    Sorry for wasting your time.
    Keep working on a block version though!

    Plugin Author Roel Magdaleno

    (@rokumetal)

    Glad that you figured it out. And yes, I need to finish the block version ASAP!

    Thanks ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Shortcode not working in shortcode block (quotes issue)’ is closed to new replies.