i am facing a compatibility problem with using shortcodes into the frame of Hero Widget.
I found a way to resolve by adding
$frame['content'] = apply_filters( 'widget_text', $frame['content'] );
line 237 of hero.php
This is not the best way, maybe building new widget extending yours is possible, but i think this is maybe something you might do for next release, to make it ( and maybe your others widgets ) compatible out of the box with shortcodes.
And thank you for your work :)
Hi Pedro,
I’m not actually able to replicate this issue with any shortcode ultimate shortcodes. Could you please be slightly more specific in what doesn’t work so I can try and replicate it?
i am including a Hero Widget in a page using PageBuilder, in that hero widget i create a frame where i use a “Shortcode Ultimate” shortcode ( a list but this is the same with other shortcodes).
Without the modification, the shortcode is not converted.
I wasn’t able to found a way to make it work so i tried your others widgets and find that the editor was working and so checked why and seen that you used to apply
in editor.php
Hi Pedro,
I’m still unable to replicate this as I set up the hero widget exactly the same it works as expected. Can you try disabling all non-SiteOrigin plugins and see if this fixes the issue? You’ll need to clear all your caches after disabling your plugins.
If it does fix the issue, then try re-enabling your plugins one by one until the issue comes back. This procedure will help diagnose which plugin is causing the issue.
Once we know that, we’ll be able to look at what might be causing the conflict and either solve the problem or help you find an alternative plugin.
If you aren’t using a SiteOrigin theme, then you can also try temporarily switching to one of the default WordPress themes to see if the issue is theme related.
tested to switch to another theme and you pointed the prob, my actual theme is Moesia from Athemes
http://athemes.com/theme/moesia/
i will keep checking if i found more information about why this theme make shortcodes stop working
Hi Pedro,
Thank you for telling me the theme name. We’ll look into this too and see if it’s something on our end. In the meantime, is there anything else I can help you with?
This is ok Alex, i will keep the stuff working with the little hack of mine, will keep tracking a better solution ( will post here if i found a solution ) or wait for your solution ;)
Thank you again for your kindness.
Hi Alex,
got more info about the problem i am facing, the origin is a plugin of the theme i am using, this is Moesia latest news.
When i remove it from the content the shortcodes are displayed correctly.
here is the code
after some tests i can say that the prob comes from the_excerpt() function.
Hi Pedro,
Thank you for the issue report. We recently found out about this issue and we’re looking into solutions.
Ok Alex,
Happy to help make it better ( and make it working for my use ;) )