Created
December 4, 2015 15:55
-
-
Save skyshab/eb98df97bb7cac303b98 to your computer and use it in GitHub Desktop.
Quick and dirty proof of concept for enabling sidebar area on pages that use Divi Builder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function et_pb_is_pagebuilder_used( $page_id ) { | |
return false; | |
} | |
add_action( 'admin_head', 'add_my_admin_styles' ); | |
function add_my_admin_styles() { | |
echo '<style>.et_pb_page_layout_settings { display: block!important;}</style>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment