__( 'AI Creative Studio', 'ai-creative-studio' ), ) ); } add_action( 'init', 'aics_register_block_pattern_category' ); /** * Register block patterns */ function aics_register_block_patterns() { // Pattern 1: Hero Section with Call to Action register_block_pattern( 'ai-creative-studio/hero-cta', array( 'title' => __( 'Hero Section with CTA', 'ai-creative-studio' ), 'description' => __( 'A hero section with heading, description, and call-to-action button.', 'ai-creative-studio' ), 'categories' => array( 'ai-creative-studio' ), 'content' => '

' . esc_html__( 'Welcome to AI Creative Studio', 'ai-creative-studio' ) . '

' . esc_html__( 'Build stunning websites with our high-performance WordPress theme. Optimized for speed and conversions.', 'ai-creative-studio' ) . '

', ) ); // Pattern 2: Two Column Feature Section register_block_pattern( 'ai-creative-studio/two-column-features', array( 'title' => __( 'Two Column Features', 'ai-creative-studio' ), 'description' => __( 'A two-column layout showcasing features with headings and descriptions.', 'ai-creative-studio' ), 'categories' => array( 'ai-creative-studio' ), 'content' => '

' . esc_html__( 'High Performance', 'ai-creative-studio' ) . '

' . esc_html__( 'Optimized for Core Web Vitals with a target score of 95+ on desktop and 85+ on mobile.', 'ai-creative-studio' ) . '

' . esc_html__( 'SEO Optimized', 'ai-creative-studio' ) . '

' . esc_html__( 'Built with SEO best practices including semantic HTML, proper heading structure, and meta tags.', 'ai-creative-studio' ) . '

', ) ); // Pattern 3: Three Column Services register_block_pattern( 'ai-creative-studio/three-column-services', array( 'title' => __( 'Three Column Services', 'ai-creative-studio' ), 'description' => __( 'A three-column layout perfect for showcasing services or features.', 'ai-creative-studio' ), 'categories' => array( 'ai-creative-studio' ), 'content' => '

' . esc_html__( 'Our Services', 'ai-creative-studio' ) . '

' . esc_html__( 'Web Design', 'ai-creative-studio' ) . '

' . esc_html__( 'Beautiful and responsive design for all devices.', 'ai-creative-studio' ) . '

' . esc_html__( 'Development', 'ai-creative-studio' ) . '

' . esc_html__( 'Clean code and best practices for performance.', 'ai-creative-studio' ) . '

' . esc_html__( 'Optimization', 'ai-creative-studio' ) . '

' . esc_html__( 'Speed optimization and SEO improvements.', 'ai-creative-studio' ) . '

', ) ); // Pattern 4: Call to Action Box register_block_pattern( 'ai-creative-studio/cta-box', array( 'title' => __( 'Call to Action Box', 'ai-creative-studio' ), 'description' => __( 'A centered call-to-action box with button.', 'ai-creative-studio' ), 'categories' => array( 'ai-creative-studio' ), 'content' => '

' . esc_html__( 'Ready to Get Started?', 'ai-creative-studio' ) . '

' . esc_html__( 'Join thousands of satisfied customers using AI Creative Studio.', 'ai-creative-studio' ) . '

', ) ); // Pattern 5: Testimonial register_block_pattern( 'ai-creative-studio/testimonial', array( 'title' => __( 'Testimonial', 'ai-creative-studio' ), 'description' => __( 'A simple testimonial block with quote and author.', 'ai-creative-studio' ), 'categories' => array( 'ai-creative-studio' ), 'content' => '

' . esc_html__( 'This theme is incredibly fast and easy to customize. Our Core Web Vitals scores improved dramatically!', 'ai-creative-studio' ) . '

' . esc_html__( 'John Doe, CEO', 'ai-creative-studio' ) . '
', ) ); } add_action( 'init', 'aics_register_block_patterns' );