__( 'Sidebar', 'bloglume' ), 'id' => 'sidebar-1', 'description' => __( 'Main sidebar that appears on the right.', 'bloglume' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); } add_action( 'widgets_init', 'bloglume_widgets_init' ); // Register a custom block style for the core/quote block function bloglume_register_block_styles() { register_block_style( 'core/quote', array( 'name' => 'fancy-quote', 'label' => __( 'Fancy Quote', 'bloglume' ), 'inline_style' => '.is-style-fancy-quote { font-style: italic; border-left: 4px solid #ccc; padding-left: 1em; }', ) ); } add_action( 'init', 'bloglume_register_block_styles' ); // Register a custom block pattern function bloglume_register_block_patterns() { // Register a block pattern category (optional, but recommended) if ( function_exists( 'register_block_pattern_category' ) ) { register_block_pattern_category( 'bloglume', array( 'label' => __( 'Bloglume Patterns', 'bloglume' ) ) ); } // Register the block pattern if ( function_exists( 'register_block_pattern' ) ) { register_block_pattern( 'bloglume/hero-section', array( 'title' => __( 'Hero Section', 'bloglume' ), 'description' => _x( 'A full-width hero section with text.', 'Block pattern description', 'bloglume' ), 'categories' => array( 'bloglume' ), 'content' => '

Welcome to Bloglume

', ) ); } } add_action( 'init', 'bloglume_register_block_patterns' );