6.4.1 & Plugins updated.
Chat GPT thought it might be this line in our functions.php, but i’d prefer not to edit that unless you think it’s the issue.
The code you provided is a part of a WordPress theme’s functions.php
file. It’s responsible for setting up various theme features and enqueuing styles and scripts. There’s a particular section towards the end of this code that could potentially be impacting the Elementor Blocks for Gutenberg:
phpCopy code
// Don't load Gutenberg-related stylesheets. add_action('wp_enqueue_scripts', 'remove_block_css', 100); function remove_block_css() { wp_dequeue_style('wp-block-library'); // WordPress core wp_dequeue_style('wp-block-library-theme'); // WordPress core wp_dequeue_style('wc-block-style'); // WooCommerce wp_dequeue_style('storefront-gutenberg-blocks'); // Storefront theme }
This part of the code is specifically dequeuing (removing) Gutenberg-related stylesheets. This could potentially interfere with the display or functionality of Gutenberg blocks, including those introduced by plugins like Elementor Blocks for Gutenberg. Here’s why: