Add your own CSS classes to error messages in Easy Digital Downloads

In Easy Digital Downloads I needed to add my own CSS classes to various error messages such as the Error: Please enter your first name that displays at checkout. This is very useful when you already have CSS classes setup for alert messages. I usually apply CSS classes of “alert” and “error” to an error …

Modify a child theme’s functionality using action hooks

When working with a WordPress child theme, you may need to change the functionality of the theme without touching any code in the parent theme. This could be as simple as removing functionality, moving a function to a different hook, or adding your own custom functionality. In this tutorial we’re going to move a function …