Changeset 1961778
- Timestamp:
- 10/24/2018 06:15:50 AM (7 years ago)
- Location:
- blocks-builder
- Files:
-
- 5 added
- 2 edited
-
assets/screenshot-11.jpg (added)
-
trunk/blocks_builder_button (added)
-
trunk/blocks_builder_button/blocks_builder_button_block.js (added)
-
trunk/blocks_builder_button/blocks_builder_button_editor.css (added)
-
trunk/blocks_builder_button/blocks_builder_button_style.css (added)
-
trunk/class-blocks-builder.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
blocks-builder/trunk/class-blocks-builder.php
r1957406 r1961778 332 332 ) 333 333 ); 334 // ----------- map block------------334 // -----------Map Block Start------------ 335 335 // Scripts. 336 336 wp_register_script( … … 361 361 ) 362 362 ); 363 // ----------- price block------------363 // -----------Price Block Start------------ 364 364 // Scripts. 365 365 wp_register_script( … … 390 390 ) 391 391 ); 392 393 //------Button Block start----. 394 wp_register_script( 395 'blocks-builder-button-block', // Handle. 396 plugins_url( 'blocks_builder_button/blocks_builder_button_block.js', __FILE__ ), // Block.js: We register the block here. 397 array( 'wp-blocks', 'wp-element', 'wp-i18n' ), // Dependencies, defined above. 398 $this->_version 399 ); 400 // Styles. 401 wp_register_style( 402 'blocks-builder-button-block-editor', // Handle. 403 plugins_url( 'blocks_builder_button/blocks_builder_button_editor.css', __FILE__ ), // Block editor CSS. 404 array( 'wp-edit-blocks' ), // Dependency to include the CSS after it. 405 $this->_version 406 ); 407 wp_register_style( 408 'blocks-builder-button-block-style', // Handle. 409 plugins_url( 'blocks_builder_button/blocks_builder_button_style.css', __FILE__ ), // Block editor CSS. 410 array( 'wp-edit-blocks' ), // Dependency to include the CSS after it. 411 $this->_version 412 ); 413 register_block_type( 414 'blockbuilder/button', 415 array( 416 'editor_script' => 'blocks-builder-button-block', 417 'editor_style' => 'blocks-builder-button-block-editor', 418 'style' => 'blocks-builder-button-block-style', 419 ) 420 ); 421 //------Button Block End---- 392 422 } 393 423 } -
blocks-builder/trunk/readme.txt
r1957412 r1961778 48 48 * **Price Block:** This block helps you to create a beautiful price table with just one click. You can add price tables as per your requirements with the color of your choice. 49 49 50 * **Button Block:** Button block to create attractive buttons on your website. The button block is completely customizable and lets you choose the colors, style and size of your buttons. 50 51 51 52 == Frequently Asked Questions == … … 96 97 9. Map Block 97 98 10. Price Block 99 11. Button Block 98 100 == Changelog == 101 102 = 1.0.3 = 103 * Added Button Block 99 104 100 105 = 1.0.2 =
Note: See TracChangeset
for help on using the changeset viewer.