Skip to content
  • Home
  • About
  • Dev4Press

Millan's Dev Blog

  • Home
  • Index
  • Blocks
  1. 2021
  2. Archives for 'October 2021'

Month: October 2021

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
Dev4Press - Premium plugins for your WordPress and bbPress powered website.
SiteGround - Cloud Hosting: Fast, Scalable, Fully Managed
© 2009 - 2023 Milan Petrovic · Dev4Press