From 70f53cea2b092ee5aef50055f965f692aa0eb474 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Thu, 27 Nov 2025 09:19:34 +0100 Subject: [PATCH] FEATURE handling theme support for page excerpt --- includes/init.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/includes/init.php b/includes/init.php index 1e87ca4..778363c 100644 --- a/includes/init.php +++ b/includes/init.php @@ -35,8 +35,11 @@ function carhop_setup() add_theme_support('wp-block-styles'); add_theme_support('editor-styles'); - add_editor_style('css/editor-style.css'); add_theme_support('widgets'); + + add_editor_style('css/editor-style.css'); + + add_post_type_support('page', 'excerpt'); // add_post_type_support( 'page', 'excerpt' ); }