[Plugin: Auto ThickBox Plus] thickbox class not added when the_content filter is called
-
I have found very strange bug. I have a shortcode, e.g. [test] with very simple code;
function test_shortcode() { $return = apply_filters('the_content', 'aaa'); return $return; } add_shortcode( 'test', 'test_shortcode' );
when you put this [test] shortcode on the page with images, the thickbox class is then not added to the image anchor, so image is then not opened with the thickbox effect.
Page with such problem e.g. https://money.mediacentrum.cz/money-s3/vlastnosti-systemu/cestovni-nahrady/ – the shortcode did the blue box on the top, when there is no such shortcode (e.g. https://money.mediacentrum.cz/money-s4/moznosti-systemu/ceniky/) it works as a charm.
P.S.: small offtopic question – your plugin can open external pages in thickbox iframe. Is there any way how i could open actual iframe in thickbox – e.g. oembed youtube videos like that on the first link above?
https://www.ads-software.com/extend/plugins/auto-thickbox-plus/
- The topic ‘[Plugin: Auto ThickBox Plus] thickbox class not added when the_content filter is called’ is closed to new replies.