Today I encountered a situation where I needed to change the background image of a page based on the Gravity Form page the user was on. Gravity Forms does not add classes outside of it’s own wrapper element, so I needed to find a way to add the current page number as a body class.
Continue reading “Adding a body class based on the current Gravity Form page”