mevanloon
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WordPress default block inline styles not loading in frontendOh that’s neat, I didn’t know about that constant. I just added a line to my ‘push’ script that removes that transient from the database.
Glad to be of service, these things can take precious time when hunting down.
Forum: Fixing WordPress
In reply to: WordPress default block inline styles not loading in frontendAfter some fiddling and debugging, I found that a database reset / reinstall would make it work. That’s not a fix, obviously, so I tried to get more specific. Dropping all of wp_posts did *not* fix it;
The eventual database record I landed on was a transient with the id of
_transient_wp_core_block_css_filesin thewp_optionstableDelete that, and default css files should load again.
- This reply was modified 2 years, 7 months ago by mevanloon.
Forum: Fixing WordPress
In reply to: WordPress default block inline styles not loading in frontendI have the exact same issue. Works fine on my local Docker container, but one of my live sites does not get block styles (specifically for the Navigation block, which is the first one you’d see). The navigation/style.css file does not even show in the source code. This is with any of the base themes.
Another site I own *does* work, so I guess I’ll have see what’s so different about that one.
Forum: Reviews
In reply to: [Gutenberg] Really helpful to let clients do more work themselvesOh for sure. The biggest hurdle was documentation, or the lack of it.
For example, there is nothing I can find in the Gutenberg Handbook (https://developer.wordpress.org/block-editor/) that says anything about dealing with innerBlocks. The Git repository does have more documentation, which would be nice to have in the handbook, but still somewhat incomplete regarding those innerBlocks. There where instances, like with autocomplete controllers, where I couldn’t get the example to work, and couldn’t figure out what the issue was.
That’s about a year ago now, so I’m not sure what the situation is now. I might try implementing autocompleters somewhere again.
Lot of docs also don’t use that ESNext tab thingy as consistently as I’d like.Oh, and it took me a while to realise that the git repo is for the development plugin, rather than the version of Gutenberg that is included with WordPress.
It’s mostly small stuff, but it adds up.