WP Manifestindependent plugin directory
manifest / themes / genesis-bem

Genesis BEM

Converts Genesis markup to BEM classes

★ 2stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/seothemes/genesis-bem/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

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;
}