Forked from cobaltapps/freelancer-add-custom-body-classes.php
Created
March 7, 2019 02:10
-
-
Save DalavanCloud/ba0beb38b3dfc4d9c68e300d2e021199 to your computer and use it in GitHub Desktop.
Easily add custom body classes to your site using the following code inside your Child Theme's PHP files.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Add a single body class through a string. | |
| freelancer_add_body_classes( 'my-custom-body-class' ); | |
| // Add multiple body classes through an array. | |
| freelancer_add_body_classes( array( 'my-custom-body-class', 'another-body-class' ) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment