Wrong shortcode initialized
// ================================ // FORCE SHORTCODES IN BLOCK THEMES (FINAL FIX) // ================================ add_filter('render_block', function($block_content) { return do_shortcode($block_content); }); // ================================ // FORCE SHORTCODES EVERYWHERE (BLOCK THEME FIX) // ================================ // 1. For classic content add_filter('the_content', 'do_shortcode'); // 2. For block editor content add_filter('render_block', function($block_content) { return do_shortcode($block_content); }); // 3. For widgets / other places add_filter('widget_text', 'do_shortcode');
Leave a Reply
You must be logged in to post a comment.