nelisvl
Forum Replies Created
-
Forum: Plugins
In reply to: [Gutenberg] Gutenberg layout not working on custom themeThank u Yoshi! I indeed saw that there was a problem in the core but wasn’t sure if it was the source of the problem and how I had to fix it. I’ll try later this week and otherwise I’ll wait for the update. Thanks for confirming it anyways!
Forum: Plugins
In reply to: [Gutenberg] Gutenberg layout not working on custom themeThe weird thing is that it does give a html output with gutenberg functions: so it is working. Only the styling is not getting used or something?
Forum: Plugins
In reply to: [Gutenberg] Gutenberg layout not working on custom themeThank you, I’ll look into the debugging function
Forum: Plugins
In reply to: [Gutenberg] Gutenberg layout not working on custom themeThanks for reacting. I have actually done that, but maybe I have written it wrong. Right now I copied the function that is shown in the handbook, with some added theme_supports. It looks like this now:
function gutenberg_setup() {
// Support Featured Images
add_theme_support( ‘post-thumbnails’ );//Gutenberg
add_theme_support( ‘align-wide’ );
add_theme_support(‘editor-styles’);
add_theme_support(‘wp-block-styles’);
add_theme_support( ‘dark-editor-style’ );
add_theme_support( ‘responsive-embeds’ );
}
add_action( ‘after_setup_theme’, ‘gutenberg_setup’ );Am I missing something or making a mistake in the code?