By default, the WordPress importer detects existing data and doesn’t allow updating them. But what if you explicitly want to update existing data – especially metadata?
Continue reading WordPress Importer: allow updating metadataBlog
If you’re using links with anchors in your menus, you may notice that they sometimes automatically get the class current-menu-item, which may not what you want to. This is especially true if you have a sub-menu with anchors pointing to an ID on a sub page. This would result in all the anchor links being highlighted as active with the current-menu-item class when the sub page is accessed.
Classic widget menus have a builtin aria-label, which either uses the widget’s title or a generic “Menu”. This can be improved.
switch statements are usually underrepresented, at least in PHP code. But they don’t have to be and have some nifty features, which makes life easier.
The new versions for Impressum Plus and Impressum focus on enhancing existing functionality as well as bug fixes. They thus refine the overall experience of those plugins.
Continue reading Impressum Plus 2.14.0 and Impressum 2.2.0 releasedI’m happy to be able to announce the availability of Form Block 1.6.0 and Form Block Pro 1.4.0 with months in the making and some really cool new features. And it’s just the base for many more possibilities in the future.
Continue reading Manage form submissions with Form Block (Pro)switch_to_blog is a handy function to switch sites (“blogs”) in a multisite. However, beware that you might have problems with certain data in such context switches.
If you use “classic” navigation menus in Appearance > Menus, you can use their name there as label for your menus, which are used in landmarks. This improves accessibility of your menus and thus is recommended.
Continue reading Use WordPress’ navigation menu name as landmarkWhen I first stumbled upon fieldset and legend, I didn’t know much about HTML and especially not about accessibility. Everything I noticed was the special way a legend is displayed inside a fieldset – or rather: alongside the border of a fieldset.
Fast forward to (kind of) today: while working on a contact form, I first could get my hands on this element and learned more about it.
Continue reading Grouping form fields for more contextWhen working with the whole content of the block editor, I noticed something odd: the getBlocks() selector does not necessarily return the current content of the editor. Let’s check why and how to correct it.