Display specific Gutenberg blocks of a post outside of the post content in the theme

Sometimes it could be useful to display parts of a post or page on another place on the site. For example, a slider above the title of the post/page. Here I show you how to loop through the blocks of a post block per block in a theme to get this done.

Continue reading Display specific Gutenberg blocks of a post outside of the post content in the theme

WordPress weekly recap #30: Registering metadata in 4.9.8 and more

WordPress 4.9.8 introduces a way to register metadata for specific object subtypes, instead of only for whole object types like all post types.

As I needed to skip the last two recaps, I will include posts from that two weeks, which I think are important enough, with the posts from the current week 30 into this post. Continue reading WordPress weekly recap #30: Registering metadata in 4.9.8 and more