Skip to main content

Genesis Developer Docs

WordPress Theme Functions

Genesis uses the following WordPress theme functions:

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;