WPIntell

Source evidence

Shortcode not working in shortcode block (quotes issue)

WP CountUP JS · support · 2020-09-08T12:23:00+00:00

mixedsentiment
mediumseverity
0.84relevance
4replies
Evidence onlycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

1 / 1 rows with source links

100.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

0 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
audunmb resolved
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] 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. 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. 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! Glad that you figured it out. And yes, I need to finish the block version ASAP! Thanks 🙂

Comments

4 shown
Roel Magdaleno 2020-09-09T20:10:00+00:00

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.

audunmb 2020-09-10T14:19:00+00:00

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.

audunmb 2020-09-10T18:43:00+00:00

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!

Roel Magdaleno 2020-09-10T19:26:00+00:00

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