Beskrivning

Elevate your Gutenberg Block development experience with BlockX. This powerful plugin bridges the gap between the modern
Gutenberg JavaScript API and the traditional PHP methods WordPress developers know and love. With BlockX,
you can effortlessly create custom Gutenberg blocks entirely using PHP, bypassing the need for complex JavaScript coding.

Features:
Seamless Integration: Simplifies the process of building custom Gutenberg blocks using PHP.
Developer-Friendly: Leverages familiar PHP syntax and functions to create and manage blocks.
Time-Saving: Reduces the learning curve and development time by avoiding intricate JavaScript coding.
Customizable: Provides a robust API to create highly customizable blocks tailored to your needs.
Efficient Workflow: Streamlines the block creation process, allowing you to focus on functionality and design.
Comprehensive Documentation: Includes detailed guides and examples to help you get started quickly.
Compatibility: Fully compatible with the latest WordPress versions and Gutenberg updates.

Why Choose PHP Block Builder for Gutenberg?
Enhanced Productivity: Build and deploy custom blocks faster using familiar PHP code.
Reduced Complexity: No need to delve into JavaScript intricacies; keep your development workflow simple.
Versatile: Perfect for developers looking to extend Gutenberg without abandoning their PHP expertise.

Arbitrary section

Installation

  1. Upload blockx.zip to the /wp-content/plugins/ directory
  2. Extract the Plugin to a blockx Folder
  3. Activate the plugin through the ’Plugins’ menu in WordPress
  4. Use core block-X
  5. Create new block-x in your custom theme or plugin code

Vanliga frågor

How can I add my own blockX?

You can find all you need to know in the docs: https://github.com/palasthotel/blockX/blob/master/README.md

Recensioner

Detta tillägg har inga recensioner.

Bidragsgivare och utvecklare

”BlockX” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

”BlockX” har översatts till 1 språk. Tack till översättarna för deras bidrag.

Översätt ”BlockX” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

1.10.3

  • Security Bugfix with Breaking change for Authors block

1.10.2

  • Bugfix: Add missing import in Headless.php

1.10.1

  • Bugfix: Regeneration of block.json in some cases incorrectly disabled

1.10.0

  • Feature: Added AutoComplete widget
  • Bugfix: Provide default content values in headless response

1.9.3

  • Bugfix: UrlSuggestion provider didn’t display label properly
  • Optimize: Added list widget controls and list position indicator

1.9.2

  • Bugfix: Wrong access permission – caused an error on installation

1.9.1

  • Optimization: Allow some html tags in info widget
  • Refactor: PHP 8.2 fix; remove dynamic properties

1.9.0

  • Feature: ListOf widget can be restricted to min, max and exact number of items

1.8.10

  • Fix: Rest error on autosave 404 if no changes were made.

1.8.9

  • Optimization: force min value in number control widget

1.8.8

  • Fix: problem with autosuggest widget

1.8.6

  • Fix: add missing registerBlockTypeArgs values to block.json files

1.8.5

  • Fix: Support for custom class and anchor block fields

1.8.4

  • Bugfix: Container style generator fix

1.8.3

  • Optimization: Media widget can preview svg now

1.8.2

  • Dependency updates

1.8.1

  • Optimization: Use frontend template in editor if there is no *__editor template file

1.8.0

  • BREAKING CHANGE: moved prepare post to headless plugin. Please update to headless > 1.6.2

1.7.1

  • Bugfix: write permission denied for generator fix

1.7.0

  • Headless plugin integrations
  • Bugfix: Do not escape slashes in block.json

1.6.2

  • Fix: empty render blocks problem

1.6.1

  • Fix: Scripts bugfix

1.6.0

  • Feature: Composed blocks
  • Feature: you can now use @palasthotel/blockx npm package for a better developer experience

1.5.2

  • Bugfix: Media widget object cache fix

1.5.1

  • Bugfix: Missing content state on first load fix

1.5.0

  • BREAKING CHANGE: renamed Readonly class to Read_Only
  • Feature: You can add custom widgets now

1.4.0

  • Optimization: All BlockX blocks are using block.json api

1.3.3

  • Feature: Minimum and maximum restriction for number widget
  • UI: Panel and Media widget UI optimization

1.3.2

  • Feature: Help text for ReadonlyWidget

1.3.1

  • Feature: Maximal characters restriction for TextWidget and TextareaWidget

1.3.0

  • Beta Feature: Container blocks

1.2.2

  • Feature: Size restriction options for media widget
  • Optimization: preview mode class for desktop, tablet and mobile preview added to block preview
  • Optimization: media button has a delete selection button now

1.2.1

  • Security fix: rest route permission callback fix
  • New Widget: Info

1.2.0

  • New Widget: User
  • New Widget: AutoSuggest
  • New Widget: Url
  • New Widget: Abstract Ajax

1.1.4

  • Optimization: Provide helper function to build wp query args from TaxQuery widget args.

1.1.3

  • Optimization: always set block attributes, so we can use random defaults that are saved
  • Bugfix: property type declaration with php < 7.4 fix

1.1.2

  • Bugfix: Embedded posts in groups were handled as relations

1.1.1

  • Bugfix: Template did not find default templates

1.1.0

  • Feature: You may remove blockx blocks in collect action now

1.0.12

  • Bugfix: Again fixed performance issues with tax query widget and several thousand terms

1.0.11

  • Bugfix: fixed performance issues with tax query widget and several thousand terms
  • Bugfix: deep clone list widget changes to avoid reference problems when duplicating a block
  • Bugfix: ignore wpml constraints with suppress_filters in wp_query
  • Refactoring: Uses wp-components library now

1.0.10

  • Bugfix: missing database table when updating from 1.0.0

1.0.9

  • Bugfix: SSRQ rendering crash when using none latin1 chars
  • Refactoring: deprecated registerStore function replaced with createReduxStore and register

1.0.8

  • New Widget: Textarea
  • Optimization: you can add a help text to Text widget
  • Optimization: Select Widget multiple values
  • Bugfix: fixed wrong auto save timeout sanitation

1.0.7

  • New Widget: ListOf
  • Optimization: auto save block changes after a specific time

1.0.6

  • New Widget: Media
  • Optimization: All block attributes are available in the blockx templates now
  • Bugfix: Taxonomies

1.0.5

  • Checkt compatibility with WP5.7
  • Bugfix: Posts block was not using taxonomy query

1.0.4

  • New Param: Filter ”blockx_rest_posts” got a new $args parameter that holds the query args for the initial wp query

1.0.3

  • New Widget: Divider
  • New Widget: Readonly
  • Bugfix: Post Widget custom post type title resolution

1.0.2

  • Feature: Bidirectional relation for embedded posts exposed via public function ’blockx_get_embedded_in_post_ids’
  • Feature: New widget type Hidden
  • New filter: ’blockx_rest_posts’ to change query result of posts query
  • Optimization: Custom ServerSideRenderQueue component for ssr rendering of blocks in a single request

1.0.1

  • Feature: Template inheritance
  • New Block: Post Embed
  • New Block: Authors
  • New Widget: Post – Relate a post
  • New overridable methods for block types on post_save and post_delete
  • New overridable methods for widgets on post_save and post_delete

1.0.0

  • First release