ब्लकहरू
ब्लक कम्पोनेन्टहरू। कोड छैन। केवल क्लिक गर्नुहोस् र सामग्री सम्मिलित गर्नुहोस्।
कुनै सीमा बिना निर्माण गर्नुहोस्
The technology that powers much of the web has never been easier to learn. Blocks allow you to visually interact with any piece of content, with or without code—fueling rich layouts, interactive onboarding, and endless extensibility. As powerful for design as they are for development, but still intuitive enough for newcomers.
अनुच्छेद
हेडिङ
मिडिया
तस्बिर
भिडियो
अडियो
कोलमहरू
फाइल
वर्डप्रेसको गोप्य शक्ति
Blocks are the visual foundation of WordPress, and can be used to create and manage every part of your site. They're also easier than you think. Learn how to edit a block and you learn how to use all of WordPress—without having to write code. For inspiration, check out what others have done with WordPress in the Showcase.
सम्पूर्ण रचनात्मक नियन्त्रण
वर्डप्रेस सम्पादक एक साधारण ड्र्याग-एन्ड-ड्रप इन्टरफेसको लागि भिजुअल क्यानभासमा तपाईंको ब्लकहरू सम्मिलित गर्न, रूपान्तरण गर्न, शैली, र सार्नको लागि पूर्वनिर्धारित तरिका हो।
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>;
},
} );
नमस्ते संसार (सम्पादकबाट)
आफ्नै सिर्जना गर्नुहोस्
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.
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.