Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • BigupJeff

    (@jeffersonreal)

    It seems theme.json and styles/[theme-name].json are cached differently. I’ve disabled webserver cache, browser cache and implemented the debug/dev constants mentioned:

    define( 'WP_DEBUG', true );
    define( 'SCRIPT_DEBUG', true );
    define( 'WP_DEVELOPMENT_MODE', 'all' );
    define( 'WP_ENVIRONMENT_TYPE', 'local' );

    My changes to theme.json now take instant effect after a page reload, but anything in a styles/[theme-name].json I have to follow the editor reset process described by @wpbred. Specifically:

    1. Navigate to editor > styles
    2. Hard reload Ctrl + F5
    3. Select and save another theme
    4. Re-select and save the theme with changes
    5. Reload front end to see changes
    BigupJeff

    (@jeffersonreal)

    If I get welcomed to the block widgets much more, I might welcome my fist to the screen ??

Viewing 2 replies - 1 through 2 (of 2 total)