Install
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.zipNo 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;
}