Skip to content
  • Home
  • About
  • Dev4Press

Millan's Dev Blog

  • Home
  • Index
  • Blocks

Server Side Rendering and Disabled component

October 28, 2021 by Milan Petrovic

There are many cases where the block rendering has to be done on the server-side and only displayed in the editor. For that purpose, the block editor has a ServerSideRender component that can pass block attributes to the server-side rendering function and display rendered HTML as is.

Categories Blocks Tags Components, ServerSideRender Leave a comment

Get started with Blank Blocks Plugin

October 5, 2021 by Milan Petrovic

If you are getting started with blocks, you can always use the official ‘@wordpress/create-block’ application to generate a new plugin with a single block. This new plugin would be fine for some use cases, but I prefer a more robust solution.

Categories Blocks Tags GitHub, Plugin Template Leave a comment

Practical blocks development tutorial series

October 3, 2021September 30, 2021 by Milan Petrovic

Like it or not, Block Editor is a big part of the WordPress development focus, and in the coming years, it will be increasingly important to know how to develop blocks and replace shortcodes and widgets that are becoming obsolete and build new functionality too.

Categories Blocks Tags Blocks Development Leave a comment

Tutorial: Convert shortcodes into blocks

May 2, 2021May 2, 2021 by Milan Petrovic

WordPress 5.0 was released in late 2018, and it brought a new editor. It is a Block Editor, but it is better known as Gutenberg. And, the new editor introduced the concept of blocks, and the block is set to replace both widgets and shortcodes with more user-friendly controls.

Categories Development Tags Blocks Development, Blocks Editor, Gutenberg, JavaScript, PHP, Shortcodes, Tutorial Leave a comment

Getting started with Blocks development

May 1, 2021April 28, 2021 by Milan Petrovic

As I announced last week, I decided to start with the Gutenberg (Block Editor) blocks development, exploring the process from the very beginning and trying to do it all with the help of the official WordPress Blocks Documentation.

Categories Development Tags Blocks Development, Blocks Editor, Gutenberg Leave a comment
Older posts
Page1 Page2 Page3 Next →
Dev4Press - Premium plugins for your WordPress and bbPress powered website.
SiteGround - Managed WordPress Hosting
© 2009 - 2023 Milan Petrovic · Dev4Press