Blocs
Components del bloc. Sense codi. Simplement fes clic i insereix contingut.
![](https://cdn.statically.io/img/wordpress.org/files/2024/05/blocks-feature-1.png)
Construeix sense límits
La tecnologia que impulsa gran part de la web mai ha sigut tan fàcil d’aprendre. Els blocs permeten interactuar visualment amb qualsevol part del contingut, amb o sense codi, la qual cosa facilita la creació de dissenys sofisticats, la integració interactiva i una extensibilitat infinita. Tan potents per al disseny com per al desenvolupament, però alhora prou intuïtius per als nouvinguts.
![](https://cdn.statically.io/img/wordpress.org/files/2023/08/block-paragraph.png)
Paragraph
![](https://cdn.statically.io/img/wordpress.org/files/2023/08/block-heading.png)
Heading
![](https://cdn.statically.io/img/wordpress.org/files/2023/08/block-media-text.png)
Mèdia
![](https://cdn.statically.io/img/wordpress.org/files/2023/08/block-image.png)
Image
![](https://cdn.statically.io/img/wordpress.org/files/2023/08/block-video.png)
Video
![](https://cdn.statically.io/img/wordpress.org/files/2023/08/block-audio.png)
Audio
![](https://cdn.statically.io/img/wordpress.org/files/2023/08/block-columns.png)
Columns
![](https://cdn.statically.io/img/wordpress.org/files/2023/08/block-file.png)
File
El poder secret de WordPress
Els blocs són la base visual de WordPress, i poden utilitzar-se per a crear i gestionar cada part del teu lloc. També són més fàcils del que creus. Aprén a editar un bloc i aprendràs a utilitzar tot WordPress, sense haver d’escriure codi. Per a inspirar-te, dona una ullada al que uns altres han fet amb WordPress en l’Aparador.
![](https://cdn.statically.io/img/wordpress.org/files/2024/05/patterns-collage.jpg)
Control creatiu complet
L’editor de WordPress és la forma per defecte d’inserir, transformar, donar estil i moure els teus blocs en un llenç visual gràcies a una senzilla interfície d’arrossegar i soltar.
registerBlockType( 'your-first-block/hello-world', {
edit: function () {
return <p>Hello world (from the editor)</p>;
},
save: function () {
return <p>Hello world (from the frontend)</p>;
},
} );
Hola món (des de l’editor)
Crea el teu
If you can't find a block that suits your needs, create your own. Creating a block is as simple as building a React component. Use the @wordpress/create-block
package to jumpstart your creation.
See what's new with blocks
Elevate your site-building experience with WordPress 6.5. This release includes a new way to manage fonts, exciting new foundational APIs for developers, and an impressive performance boost.
![Mural illustration features new to WordPress 6.5, including: the aspect ratio feature, the Interactivity API, and the new Fonts Library.](https://cdn.statically.io/img/wordpress.org/files/2024/04/feature-whatsnew.png)
Only the beginning
While blocks are powerful on their own, they’re also part of something bigger and can be combined or deployed in various ways. As a unified and open syntax, they're easily understood by editors, browsers, and even AI. So whoever is editing will find it easy to make vibrant, personalized designs and experiences happen, fast.