WordPress Theme Functions
Genesis uses the following WordPress theme functions:
wp_body_open()
(requires Genesis 2.10 and WordPress 5.2)wp_head()
(immediately before</head>
)body_class()
(inside<body>
tag)post_class()
wp_footer()
(immediately before</body>
)
You do not need to include these functions in your Genesis child theme.
You can make use of actions and filters related to those functions in your plugin and theme code. For example:
add_filter( 'body_class', 'theme_prefix_landing_body_class' );
/**
* Adds landing page body class to the landing page template.
*
* @since 1.0.0
*
* @param array $classes Original body classes.
* @return array Modified body classes.
*/
function theme_prefix_landing_body_class( $classes ) {
$classes[] = 'landing-page';
return $classes;
}