Customizer: hide controls on test page
Introduced in [30919]. See #32577 and #30701. git-svn-id: https://develop.svn.wordpress.org/trunk@32701 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b866b19a20
commit
63183254c9
@ -3,7 +3,7 @@ window.wp.customize = window.wp.customize || { get: function(){} };
|
||||
|
||||
var customizerRootElement;
|
||||
customizerRootElement = jQuery( '<div id="customize-theme-controls"><ul></ul></div>' );
|
||||
customizerRootElement.css( { position: 'absolute', top: -1000 } ); // remove from view
|
||||
customizerRootElement.css( { position: 'absolute', left: -1000 } ); // remove from view
|
||||
jQuery( document.body ).append( customizerRootElement );
|
||||
|
||||
window._wpCustomizeSettings = {
|
||||
|
Loading…
Reference in New Issue
Block a user