This code checks the body classes and executes your code if the body class exists.
In this case, the code executes on any page which includes custom-class in the body classes. If so, the header and header markup is removed along with the nav menus and this text is printed in the genesis_header hook position : Replace this output value with you own
To modify this code, replace the value for the $output variable, and replace the actions within the function to add or remove functionality.
You can check for an existing body class or a custom class added using code like this found in many Genesis child theme template files :
add_filter( 'body_class', 'genesis_sample_landing_body_class'...
This is only a snippet of a WordPress Website Design Article written by Brad Dalton
Read Full Article
This Content is Generated from RSS Feeds, if your content is featured and you would like to be removed, please Contact Us With your website address and name of site you wish to be removed from.
You can control what content is distributed in your RSS Feed by using your Website Editor.