WP Manifestindependent plugin directory
manifest / themes / genesis-bem

Genesis BEM

Converts Genesis markup to BEM classes

by SEO Themes · github.com/seothemes/genesis-bem · website

2stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/seothemes/genesis-bem/archive/refs/heads/master.zip

Readme

Genesis BEM

Feature plugin that converts Genesis markup to BEM classes.

Installation

Download and install zip file from master branch.

Usage

Default classes can be changed with the genesis_bem_defaults filter, e.g:

add_filter( 'genesis_bem_defaults', 'custom_bem_classes', 10, 1 );
/**
 * Modify Genesis BEM defaults.
 *
 * @param array $defaults Default pluign values.
 *
 * @return array
 */
function custom_bem_classes( $defaults ) {
    $defaults[ 'site-header' ] = 'app-header';

    return $defaults;
}

Read the full README on GitHub →