Skip to content

Instantly share code, notes, and snippets.

View jamesbishopca's full-sized avatar

James Bishop jamesbishopca

View GitHub Profile
@jamesbishopca
jamesbishopca / functions.php
Created September 20, 2017 19:44 — forked from woogist/functions.php
The code below adds Sensei support to your Divi Theme. To use it simply copy it to your Divi functions.php file.
/**
* Declare Sensei support
*
* This is needed to hide the Sensei theme compatibility notice your admin dashboard.
*/
add_action( 'after_setup_theme', 'divi_sensei_support' );
function divi_sensei_support() {
add_theme_support( 'sensei' );
}