How to Dynamically Add a Custom Class to Image Links in WordPress

How to Dynamically Add a Custom Class to Image Links in WordPress

WordPress has made huge improvements to the Media Library over time but one thing that has been lacking is the ability to add custom classes to image links as an option. In this tutorial we will teach you how to dynamically add a custom class to image links in WordPress by utilizing PHP functions.

Read More
How to Create an Odd/Even Class System in WordPress

How to Create an Odd/Even Class System in WordPress

There are many times when coding a WordPress blog or full website that you may encounter the need for a class that targets odd/even posts or items. In this tutorial we will teach you a very simple method for adding odd/even classes anywhere inside of your WordPress loop using a function.

Read More