No support for core/search
-
Hi all, I’m just in the process of learning a bit about the way tt2 theme is put together..
I’ve been following this tutorial on how to create a wp block theme to get a better understanding: https://fullsiteediting.com/lessons/creating-block-based-themes/
As described, I’ve created a basic theme with index.html, style.css, theme.json and functions.php
One of the first things I’ve noticed is that if i include <!– wp:search /–> in the html index template, wordpress tells me “Your site doesn’t include support for the “core/seaarch” block”
I have included theme support in my functions.php as described in the article:
<code> if ( ! function_exists( 'fse_setup' ) ) { function fse_setup() { add_theme_support( 'wp-block-styles' ); } } add_action( 'after_setup_theme', 'fse_setup' );
So – I was wondering if anyone can tell me why there is no support for a search block?
- The topic ‘No support for core/search’ is closed to new replies.