__('Pro Paterns', 'busines') )); } add_action('init', 'busines_wpdocs_block_pattern_category'); function busines_custom_register_block_patterns() { register_block_pattern( 'Project Details', // Unique name for your pattern array( 'title' => __('Project Details', 'busines'), // Title displayed in the block editor 'description' => 'Section showing project details', // Description of your pattern 'content' => '

', // HTML content of your pattern 'categories' => array('pro-patterns'), // Category under which your pattern should appear 'keywords' => array('custom', 'pattern', 'my', 'project details', 'details', 'projects'), // Keywords to help users find your pattern ) ); register_block_pattern( 'Achievements of our team', // Unique name for your pattern array( 'title' => __('Achievements of our team', 'busines'), // Title displayed in the block editor 'description' => 'Section showing the companys achievements', // Description of your pattern 'content' => '

', // HTML content of your pattern 'categories' => array('pro-patterns'), // Category under which your pattern should appear 'keywords' => array('custom', 'pattern', 'my', 'achievements'), // Keywords to help users find your pattern ) ); register_block_pattern( 'Pricing (alternative)', // Unique name for your pattern array( 'title' => __('Pricing (alternative)', 'busines'), // Title displayed in the block editor 'description' => 'Alternative section showing service prices', // Description of your pattern 'content' => '

', // HTML content of your pattern 'categories' => array('pro-patterns'), // Category under which your pattern should appear 'keywords' => array('custom', 'pattern', 'my', 'pricing'), // Keywords to help users find your pattern ) ); register_block_pattern( 'Main home (alternative)', // Unique name for your pattern array( 'title' => __('Main home (alternative)', 'busines'), // Title displayed in the block editor 'description' => 'Section showing alternative version of main homepage banner', // Description of your pattern 'content' => '
', // HTML content of your pattern 'categories' => array('pro-patterns'), // Category under which your pattern should appear 'keywords' => array('custom', 'pattern', 'my', 'main', 'home'), // Keywords to help users find your pattern ) ); register_block_pattern( 'Clients', // Unique name for your pattern array( 'title' => __('Clients', 'busines'), // Title displayed in the block editor 'description' => 'Section showing the companys customers', // Description of your pattern 'content' => '






', // HTML content of your pattern 'categories' => array('pro-patterns'), // Category under which your pattern should appear 'keywords' => array('custom', 'pattern', 'my', 'clients'), // Keywords to help users find your pattern ) ); register_block_pattern( 'Team', // Unique name for your pattern array( 'title' => __('Team', 'busines'), // Title displayed in the block editor 'description' => 'Section calling to meet the companys team', // Description of your pattern 'content' => '
', // HTML content of your pattern 'categories' => array('pro-patterns'), // Category under which your pattern should appear 'keywords' => array('custom', 'pattern', 'my', 'destinations', 'destinations title'), // Keywords to help users find your pattern ) ); register_block_pattern( 'Posts Blog', // Unique name for your pattern array( 'title' => __('Posts Blog', 'busines'), // Title displayed in the block editor 'description' => 'Section with all blog posts', // Description of your pattern 'content' => '
', // HTML content of your pattern 'categories' => array('pro-patterns'), // Category under which your pattern should appear 'keywords' => array('custom', 'pattern', 'my', 'posts', 'blog'), // Keywords to help users find your pattern ) ); register_block_pattern( 'Pricing', // Unique name for your pattern array( 'title' => __('Pricing', 'busines'), // Title displayed in the block editor 'description' => 'Section showing product prices', // Description of your pattern 'content' => '

', // HTML content of your pattern 'categories' => array('pro-patterns'), // Category under which your pattern should appear 'keywords' => array('custom', 'pattern', 'my', 'pricing'), // Keywords to help users find your pattern ) ); register_block_pattern( 'Marquee', // Unique name for your pattern array( 'title' => __('Marquee', 'busines'), // Title displayed in the block editor 'description' => 'Marquee section', // Description of your pattern 'content' => '
', // HTML content of your pattern 'categories' => array('pro-patterns'), // Category under which your pattern should appear 'keywords' => array('custom', 'pattern', 'my', 'marquee'), // Keywords to help users find your pattern ) ); register_block_pattern( 'Results numbers', // Unique name for your pattern array( 'title' => __('Results numbers', 'busines'), // Title displayed in the block editor 'description' => 'Section showing the companys positive results numbers', // Description of your pattern 'content' => '
', // HTML content of your pattern 'categories' => array('pro-patterns'), // Category under which your pattern should appear 'keywords' => array('custom', 'pattern', 'my', 'categories', 'posts'), // Keywords to help users find your pattern ) ); } add_action('init', 'busines_custom_register_block_patterns');