Title: Fast Blocks
Author: tdesero
Published: <strong>मे 26, 2021</strong>
Last modified: एप्रिल 8, 2025

---

प्लगइन शोधा

हे प्लगइन **WordPress च्या शेवटच्या 3 महत्त्वाच्या प्रमुख पुनर्वितरणांच्या साथी 
चाचणी झालेले नाही**. हे येथे वापरल्यास सामर्थ्य देणार नाही किंवा त्या आधारित असु
शकते आणि WordPress च्या अधिक अद्ययावत आवृत्तींसह वापरताना संगतता समस्यांची शक्यता
आहे.

![](https://s.w.org/plugins/geopattern-icon/fast-blocks.svg)

# Fast Blocks

 [tdesero](https://profiles.wordpress.org/tdesero/) कडून

[डाउनलोड करा](https://downloads.wordpress.org/plugin/fast-blocks.0.9.5.zip)

 * [तपशील](https://mr.wordpress.org/plugins/fast-blocks/#description)
 * [पुनरावलोकने](https://mr.wordpress.org/plugins/fast-blocks/#reviews)
 *  [इंस्टॉलेशन](https://mr.wordpress.org/plugins/fast-blocks/#installation)
 * [डेव्हलोपमेंट](https://mr.wordpress.org/plugins/fast-blocks/#developers)

 [समर्थन](https://wordpress.org/support/plugin/fast-blocks/)

## वर्णन

Use the function `add_fast_block` to add a block to your theme in PHP. The Plugin
automatically creates an interface for your block inside the editor.
 Unlike the
default block behaviour all blocks are rendered dynamically. This means changes 
inside the template are shown immediately without resaving the post or page.

### Example Usage

Register your block:

    ```
    $options = [
      'name'      => 'some-slug/block-name',
      // template from theme-directory
      'template'  => '/blocks/test.php',
      'settings'  => [
        // same settings as the original "wp.registerBlockType" without attributes.
        'title'   => 'Plugin Block',
      ],
      'fields'    => [
        // define attributes and inputs/labels etc. that are needed.
        'headline'  => [
          'label'    => 'My Label',
          'type'     => 'string',
          'input'      => 'text',
          'default'  => 'default string',
          'width' => 0.5, // optional for all fields except repeater
          // optional selector: useful fallback if dynamic rendering does not work. Also good for WP SEO PLugins.
          'selector' => 'h2',
        ],
        'text'  => [
          'label'    => 'Some Text',
          'type'     => 'string',
          'input'      => 'richText',
          'default'  => 'default string',
        ],
        'image'   => [
          'label'   => 'Label for the Upload Button',
          'type'    => 'object',
          'input'   => 'image',
          'default' => [
            'url'   => 'image.jpeg',
            'alt'   => 'Alternative Text',
            'sizes' => []
          ]
        ],
        'bgColor' => [
          'label'   => 'Background',
          'type'    => 'string',
          'default' => 'light',
          'input'     => 'select',
          'options' => [
            ['label' => 'light', 'value' => 'light'],
            ['label' => 'dark', 'value' => 'dark'],
          ]
        ],
        'someBool' => [
          // ...
          'type'    => 'boolean',
          'input'   => 'checkbox',
        ],
        'someArray' => [
          // ...
          'type' => 'array',
          'default' => [],
          'input' => 'repeater',
          'query' => [
            'subField1' => [
              'type' => 'string',
              'input' => 'text',
              'default' => 'default list item',
            ],
            'subField2' => [
              'type' => 'boolean',
              'input' => 'checkbox',
              'default' => true,
            ],
          ]
        ]
      ]
    ];

    add_fast_block( $options );
    ```

Available inputs: `text`, `richText`, `checkbox`, `toggle`, `select`, `image`, `
url`, `email`, `date`.
 At the moment default values are mandatory.

Example usage inside template:

    ```
    <div>
      <h2><?php $block->field('headline'); ?></h2>
      <img src="<?php echo $block->field_value('image')['url']; ?>">
    </div>
    ```

For `$block->field` function sanitizing is done with `wp_kses_post`. If you need
more complex sanitizing, use `$block->field_value`, sanitize on your own and `echo`
the value afterwards.

## स्थापना

 1. Upload the plugin files to the `/wp-content/plugins/fast-blocks` directory, or 
    install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress

## नेहमी विचारले जाणारे प्रश्न

### Do I have to know PHP to use this plugin?

Yes! this plugin is meant to be used by developers and people that create their 
own themes.

### Do I have to know JavaScript?

No! The JavaScript part is handled completely by the plugin.

### Does it work with SEO Plugins?

Yoast SEO is supported. To avoid problems with dynamic blocks and SEO analyzing 
Plugins, most fields are stored inside the block content the traditional way additionally.
But this doesn’t mean it is 100% reliable.

## समीक्षा

ह्या प्लगइनसाठी कोणतेही समीक्षण नाही.

## योगदानकर्ते आणि विकसक

“Fast Blocks” हे मुक्त स्रोत सॉफ्टवेअर आहे. पुढील लोक या प्लगइनच्या निर्मितीत योगदान
केले आहे.

योगदानकर्ते

 *   [ tdesero ](https://profiles.wordpress.org/tdesero/)

[भाषांतर करा “Fast Blocks” तुमच्या भाषेत.](https://translate.wordpress.org/projects/wp-plugins/fast-blocks)

### विकासातील आग्रह?

[कोड ब्राउझ करा](https://plugins.trac.wordpress.org/browser/fast-blocks/), [SVN संग्रहालय](https://plugins.svn.wordpress.org/fast-blocks/)
तपासा, किंवा [विकास लॉग](https://plugins.trac.wordpress.org/log/fast-blocks/) च्या
[RSS](https://plugins.trac.wordpress.org/log/fast-blocks/?limit=100&mode=stop_on_copy&format=rss)
द्वारे सदस्यता घ्या.

## बदलांची यादी

#### 0.9.5

 * Release
 * add color field input
 * yoast content analysis

#### 0.9.4

 * Release
 * fix issue with classic editor on mobile device preview
 * fix repeater field control issue

#### 0.9.0

 * Release
 * added “focalPointPicker” as option for image field
 * added ‘templateRenderCallback’ option when registering the block

#### 0.8.0

 * Release
    added “allowTransformFrom” option

## मेटा

 *  आवृत्ती **0.9.5**
 *  शेवटचा अद्यतन **1 वर्ष पूर्वी**
 *  सक्रिय स्थापना **10+**
 *  वर्डप्रेस आवृत्ती ** 5.7 किंवा मोठा **
 *  परीक्षित केले आहे **6.6.5**
 *  PHP आवृत्ती ** 7.0 किंवा मोठा **
 *  भाषा
 * [English (US)](https://wordpress.org/plugins/fast-blocks/)
 * टॅग
 * [block](https://mr.wordpress.org/plugins/tags/block/)
 *  [प्रगत दृश्य](https://mr.wordpress.org/plugins/fast-blocks/advanced/)

## मूल्यांकन

अजून कोणतीही पुनरावलोकने सबमिट केलेली नाहीत.

[Your review](https://wordpress.org/support/plugin/fast-blocks/reviews/#new-post)

[सर्व पुनरावलोकने पहा](https://wordpress.org/support/plugin/fast-blocks/reviews/)

## योगदानकर्ते

 *   [ tdesero ](https://profiles.wordpress.org/tdesero/)

## समर्थन

काहीतरी सांगायचं आहे का? मदतीची आवश्यकता आहे का?

 [समर्थन फोरम पहा](https://wordpress.org/support/plugin/fast-blocks/)