esc_html__( 'Site headers', 'armando' ) ) ); } /** * Register Block Patterns. */ if ( function_exists( 'register_block_pattern' ) ) { function armando_register_header_block_patterns() { register_block_pattern( 'armando/header-default', array( 'title' => esc_html__( 'Default Header with menu and two background colors.', 'armando' ), 'categories' => array( 'site-header' ), 'content' => '
', ) ); register_block_pattern( 'armando/header-one', array( 'title' => esc_html__( 'Header with title to the left of a menu', 'armando' ), 'categories' => array( 'site-header' ), 'content' => '
', ) ); register_block_pattern( 'armando/header-two', array( 'title' => esc_html__( 'Centered header with site title below a menu', 'armando' ), 'categories' => array( 'site-header' ), 'content' => ' ', ) ); register_block_pattern( 'armando/header-three', array( 'title' => esc_html__( 'Centered header with title and tagline above a menu', 'armando' ), 'categories' => array( 'site-header' ), 'content' => '
', ) ); register_block_pattern( 'armando/header-four', array( 'title' => esc_html__( 'Header with two menus, logo and search', 'armando' ), 'categories' => array( 'site-header' ), 'description' => esc_html__( 'A multiline header with two menus, logo and search.', 'armando' ), 'content' => '
', ) ); register_block_pattern( 'armando/header-five', array( 'title' => esc_html__( 'Header with media background and call to action', 'armando' ), 'categories' => array( 'site-header' ), 'description' => esc_html__( 'A header with a menu and a full width cover block with call to action. Upload your own cover image.', 'armando' ), 'content' => '

' . _x( 'HEADLINE', 'sample content', 'armando' ) . '

', ) ); } add_action( 'init', 'armando_register_header_block_patterns', 9 ); }