Blocks

Add Custom Settings to Existing WordPress Gutenberg Blocks

Add Custom Settings to Existing WordPress Gutenberg Blocks

There are three steps to add custom settings to existing blocks:

  1. We add a filter on existing block's registerBlockType 's settings array. ...
  2. Hook onto the block's edit component (the component responsible for rendering the block in the editor). ...
  3. Filter the block's save props.

Responsive header image
What is a responsive header? How do I make my WordPress header image responsive? How do you make a full width image responsive? What is header image i...
Categories and posts structure
What are post categories? What is the difference between tags and categories? How many categories should a blog post have? How many types of categorie...
Change the meta keywords for a specific page
How do I choose meta keywords? How do I separate keywords in meta tags? Should meta description be different on each page? How do I change the meta de...