Export class for your custom WordPress plugin or project

May 18, 2022 | Code Snippets

I have been developing custom WordPress plugins for clients for many years. Even though there are so many great plugins in existence, they cannot all do exactly what your client needs and a custom plugin is required. Often several custom post types are created and, of course, metadata is saved for all of them. I […]

Read full post

Adding block class to widgets

April 22, 2022 | Code Snippets,WordPress

When registering a sidebar, you can set the “before_widget” value to include some classes that WordPress will define. With Gutenberg, you can now use blocks in your sidebars – yay! However, that “before_widget” class by default does not include anything about the block that is used so it can be a challenge to custom style […]

Read full post