Adding Custom Body Classes

Freelancer provides a helper function that makes it super simple to add either a single or multiple custom body classes to your site with the following function:

This is especially useful inside custom Page Templates or any function that builds custom pages and posts or involves defining page or post context or styling configurations.