Plugin Author
Bob
(@prasunsen)
I’ll have to check it, not familiar with BBpress topics
thats’s a fast answer !
let me know if you have further information please.
thanks.
Plugin Author
Bob
(@prasunsen)
Sorry, BBpress won’t parse any shortcodes from other plugins. The problem is not in Watu.
I use bbpress-shortcodes-whitelist plugin to enable shortcodes inside bbpress topics, it works fine, i do display polls this way.
Plugin Author
Bob
(@prasunsen)
I tried it but it doesn’t display our shortcode. When I check the source code there is nothing displayed.
I don’t know why, the issue is not in Watu and I can’t fix it from within Watu.
Plugin Author
Bob
(@prasunsen)
You can probably hack it using this info:
https://ww.wp.xz.cn/plugins/bbpress2-shortcode-whitelist/faq/
We won’t add this code overload for a single use-case so you need to do it yourself in your customized version.
yes i just saw this, i’ll try to do it.
thank u.
Plugin Author
Bob
(@prasunsen)
My guess it that it may work even as another custom plugin (so you can keep applying Watu updates when they are available), but I am not sure. I’ll try it when I have time, probably not today though.
I can’t do it, im too new to wp to really understand.
Plugin Author
Bob
(@prasunsen)
I’ll post here if I can make it work tomorrow.
Plugin Author
Bob
(@prasunsen)
No, it does not work.
What polls are you displaying? From which plugin?
Plugin Author
Bob
(@prasunsen)
Got it!
It doesn’t work with shortcodes with ALL CAPS. I guess it does strtolower somewhere.
Solution:
In watu.php under “add_shortcode( ‘WATU’, ‘watu_shortcode’ );” add this:
add_shortcode( ‘watu’, ‘watu_shortcode’ );
Then use small letters for your shortcodes. For example:
[watu 1]
In the next release we’ll make watu read both small and caps shortcodes to allow such weird cases.
great ! good job, it works perfectly.
thank you so much.