wp-block-layouts
БесплатноБез исполняемых скриптовНе проверенReady-to-use WordPress Block Editor layout patterns: hero sections, pricing tables, testimonials, feature grids, CTAs, and more. All patterns use core blocks…
от wpgaurav★ 24 звезды на GitHubОб этом скилле
WordPress Block Layout Patterns
When to Use
Use this skill when:
- Building landing pages with WordPress blocks
- Creating section layouts (hero, pricing, testimonials, CTAs)
- Converting designs to block markup
- Need ready-to-paste pattern code
Quick Reference
| Pattern | Best Blocks | Layout Type |
|---|---|---|
| Hero | Cover, Group, Heading, Buttons | full-width, centered |
| Features Grid | Columns, Group, Heading, Paragraph | 2-4 columns |
| Pricing Table | Columns, Group, Heading, List, Button | 3 columns |
| Testimonials | Columns, Group, Quote, Image | 2-3 columns |
| CTA Banner | Cover, Group, Heading, Buttons | full-width |
| Team | Columns, Image, Heading, Paragraph | 3-4 columns |
| FAQ | Details, Group | single column |
| Logo Bar | Group (row), Image | horizontal flex |
| Stats | Columns, Heading, Paragraph | 3-4 columns |
Hero Sections
Simple Hero with Background Image
<!-- wp:cover {"url":"https://example.com/hero-bg.jpg","id":123,"dimRatio":60,"overlayColor":"black","minHeight":600,"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"}}}} -->
<div class="wp-block-cover alignfull" style="min-height:600px;padding-top:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80)">
<span aria-hidden="true" class="wp-block-cover__background has-black-background-color has-background-dim-60 has-background-dim"></span>
<img class="wp-block-cover__image-background wp-image-123" alt="" src="https://example.com/hero-bg.jpg" data-object-fit="cover"/>
<div class="wp-block-cover__inner-container">
<!-- wp:group {"layout":{"type":"constrained","contentSize":"800px"}} -->
<div class="wp-block-group">
<!-- wp:heading {"textAlign":"center","level":1,"style":{"typography":{"fontSize":"3.5rem","fontWeight":"700"},"color":{"text":"#ffffff"}}} -->
<h1 class="wp-block-heading has-text-align-center has-text-color" style="color:#ffffff;font-size:3.5rem;font-weight:700">Build Something Amazing</h1>
<!-- /wp:heading -->
<!-- wp:paragraph {"align":"center","style":{"typography":{"fontSize":"1.25rem"},"color":{"text":"#e0e0e0"},"spacing":{"margin":{"top":"1.5rem","bottom":"2rem"}}}} -->
<p class="has-text-align-center has-text-color" style="color:#e0e0e0;font-size:1.25rem;margin-top:1.5rem;margin-bottom:2rem">Create stunning websites with the power of WordPress blocks. No coding required.</p>
<!-- /wp:paragraph -->
<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} -->
<div class="wp-block-buttons">
<!-- wp:button {"backgroundColor":"white","textColor":"black","style":{"border":{"radius":"4px"},"spacing":{"padding":{"top":"0.875rem","bottom":"0.875rem","left":"2rem","right":"2rem"}}}} -->
<div class="wp-block-button"><a class="wp-block-button__link has-black-color has-white-background-color has-text-color has-background wp-element-button" style="border-radius:4px;padding-top:0.875rem;padding-right:2rem;padding-bottom:0.875rem;padding-left:2rem">Get Started</a></div>
<!-- /wp:button -->
<!-- wp:button {"className":"is-style-outline","style":{"border":{"radius":"4px","width":"2px"},"spacing":{"padding":{"top":"0.875rem","bottom":"0.875rem","left":"2rem","right":"2rem"}},"color":{"text":"#ffffff"}}} -->
<div class="wp-block-button is-style-outline"><a class="wp-block-button__link has-text-color wp-element-button" style="border-radius:4px;border-width:2px;color:#ffffff;padding-top:0.875rem;padding-right:2rem;padding-bottom:0.875rem;padding-left:2rem">Learn More</a></div>
<!-- /wp:button -->
</div>
<!-- /wp:buttons -->
</div>
<!-- /wp:group -->
</div>
</div>
<!-- /wp:cover -->
Hero with Side Image (Media & Text)
<!-- wp:media-text {"mediaId":123,"mediaLink":"","mediaType":"image","mediaWidth":50,"verticalAlignment":"center","align":"full","style":{"spacing":{"padding":{"top":"4rem","right":"2rem","bottom":"4rem","left":"2rem"}}}} -->
<div class="wp-block-media-text alignfull is-stacked-on-mobile is-vertically-aligned-center" style="padding-top:4rem;padding-right:2rem;padding-bottom:4rem;padding-left:2rem">
<figure class="wp-block-media-text__media">
<img src="https://example.com/hero-image.jpg" alt="Hero illustration" class="wp-image-123 size-full"/>
</figure>
<div class="wp-block-media-text__content">
<!-- wp:heading {"level":1,"style":{"typography":{"fontSize":"2.75rem","fontWeight":"700","lineHeight":"1.2"}}} -->
<h1 class="wp-block-heading" style="font-size:2.75rem;font-weight:700;line-height:1.2">Transform Your Business with Modern Solutions</h1>
<!-- /wp:heading -->
<!-- wp:paragraph {"style":{"typography":{"fontSize":"1.125rem"},"spacing":{"margin":{"top":"1.5rem","bottom":"2rem"}},"color":{"text":"#555555"}}} -->
<p class="has-text-color" style="color:#555555;font-size:1.125rem;margin-top:1.5rem;
Установить wp-block-layouts в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл wp-block-layouts?
Ready-to-use WordPress Block Editor layout patterns: hero sections, pricing tables, testimonials, feature grids, CTAs, and more. All patterns use core blocks only.
Как установить скилл wp-block-layouts?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл wp-block-layouts запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic