Glossary

Block Pattern — Que sont les modèles de blocs WordPress?

Les modèles de blocs sont des combinaisons de blocs prêtes à l'emploi dans WordPress. Découvrez comment les utiliser et comment anipage.io construit des pages complètes avec l'IA.

Definition

A block pattern is a saved group of Gutenberg blocks that together form a layout or section — for example, a hero section, a feature overview, or a testimonial area. Block patterns can be saved in WordPress's pattern library and reused across pages.

Block patterns vs. blocks

A single block (e.g. `core/paragraph`) is the smallest element in Gutenberg. A block pattern, on the other hand, combines multiple blocks into a ready-to-use layout building block: e.g. two columns with an image on the left and description on the right. Patterns save time when building new pages and ensure design consistency.

Creating custom block patterns

Custom patterns can be created in the editor: select blocks → 'Create pattern'. Alternatively, developers can register patterns via `register_block_pattern()` in PHP or store them as JSON files in the theme's `/patterns/` folder (block theme standard since WordPress 6.0).

Block patterns and AI generation

AI tools like anipage.io go a step further: instead of assembling individual patterns, the AI generates a complete page with all sections in one step. The result is valid Gutenberg markup — including typical pattern structures like hero, features, testimonials, and CTA — directly importable into WordPress.

Frequently Asked Questions

Where do I find block patterns in WordPress?
In the Gutenberg editor under the '+' symbol → 'Patterns' tab. WordPress.org also offers a patterns library with thousands of community patterns.
What's the difference between a block pattern and a template?
A block pattern is a reusable section (e.g. a hero area). A template is a complete page layout edited in the Full Site Editor, encompassing header, footer, and main content.
Can anipage.io export block patterns?
anipage.io generates complete Gutenberg pages as an importable ZIP file. The exported code contains all typical sections — comparable to a collection of connected block patterns.

Prêt à créer des pages WordPress en minutes ?

Commencez gratuitement avec 3 générations par mois. Sans carte bancaire. Sans engagement. Résiliez quand vous voulez.

Commencer gratuitement maintenant

Related Terms

Related Articles