Created
June 30, 2016 03:15
-
-
Save spivurno/216a4da869e7d30f2cbcae9493373188 to your computer and use it in GitHub Desktop.
Gravity Perks // GP Live Preview // Full Width Preview for Elegant Themes' Divi Theme
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 | |
/* | |
* Gravity Perks // GP Live Preview // Full Width Preview for Elegant Themes' Divi Theme | |
* http://gravitywiz.com | |
*/ | |
if( function_exists( 'gp_live_preview' ) ) { | |
update_post_meta( gp_live_preview()->get_preview_post( 'ID' ), '_et_pb_page_layout', 'et_full_width_page' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment