WordPress FSE (Full Site Editing) Not working.

All theme styles are broken

  1. Make sure there are no errors in your theme.json file
  2. Edit a FSE template and resave the template.
  3. Make sure that you are not disabling global styles either in code or via a plugin.
    • The Perfmatters plugin has a setting under General > Remove Global Styles. Make sure this is off.
remove_action('wp_enqueue_scripts', 'wp_enqueue_global_styles');
remove_action('wp_footer', 'wp_enqueue_global_styles', 1);
remove_action('wp_body_open', 'wp_global_styles_render_svg_filters');
remove_action('in_admin_header', 'wp_global_styles_render_svg_filters');

Custom colors not showing from theme.json

Custom colors from theme.json no longer showing when editing FSE template files.

  1. This may be related to cached data. Open Dev-tools > Application > Storage. Click “Clear Site Data”.
  2. Open dev tools and clear When `browserSync` is active while developing locally.
  3. Make sure there are no errors in your theme.json file


Posted

in