Block editor: Content position for group block

Published: Leave a comment Last update:

You may know the content position setting in cover blocks to positioning the content inside the cover, which is horizontally and vertically centered by default. Since the group block can be used similar, and we used it inside a custom slider block, we wanted to have the identical settings for group blocks as well.

Continue reading Block editor: Content position for group block

Disable alignment settings for group block

Published: 2 Comments Last update:

Since WordPress 6.0, you can define how content inside a group block is aligned. Besides the default, which does nothing, you can also display the content inline in a row or stack it. Together with the new layout options you can then justify the content and set its orientation based on your desires.

If you don’t want to use that feature, you can disable it. It’s basically both a block variation of the group block.

Continue reading Disable alignment settings for group block

Disable welcome guide in Gutenberg (even in widgets)

Published: Leave a comment Last update:

The block editor, also known as Gutenberg editor, contains a welcome guide for new users to explain the main functionality of itself. Most people working on a daily base with the block editor know how to use it, which makes the welcome guide unnecessary for them. Since the welcome guide is displayed on every new website, even if the same multisite, and since quite some time even in widgets or the widget area in the Customizer, it’s annoying for quite a large amount of people.

Continue reading Disable welcome guide in Gutenberg (even in widgets)

Limit available sites in Multisite Language Switcher

Published: Leave a comment Last update:

By default, Multisite Language Switcher displays all configured sites in a multisite as potential translation. This is not useful in certain environments. For instance, here at Epiphyt, we have the main site in English and German as well as the site of Impressum Plus. This means, we have four sites in total, of which two are in English and two are in German.

Continue reading Limit available sites in Multisite Language Switcher

Block Editor: Add a link to a whole column block

Published: Leave a comment Last update:

There are cases where you want to link a whole column block to another target. However, obviously there is no such option for an edge case directly built into the column block in the block editor. Fortunately, JavaScript is quite powerful, so you can achieve this functionality with a little bit of code.

Continue reading Block Editor: Add a link to a whole column block

Is the Block Editor too progressive for WordPress?

Published: Leave a comment Last update:

The Block Editor is completely new beginning. But does its development fit in the WordPress ecosystem? I ask myself this question over and over again, if I have certain problems, especially if a new version of the Block Editor is released – or even more critical – if they land in WordPress Core.

Continue reading Is the Block Editor too progressive for WordPress?

Display a single post of a post type with different slug

Published: Leave a comment Last update:

I had a request where products of a post type product should be displayed under the URL path /product/product-name. So far, so good. However, a single product of this post type should be displayed via /portfolio-product-name.

Unfortunately, I couldn’t find any solution via Google. So I needed to start digging.

Continue reading Display a single post of a post type with different slug