Skip to content

Instantly share code, notes, and snippets.

@codehooligans
Created June 21, 2012 22:43
Show Gist options
  • Save codehooligans/2969064 to your computer and use it in GitHub Desktop.
Save codehooligans/2969064 to your computer and use it in GitHub Desktop.
WordPress theme customizer iframe
<?php
/*
* Template Name: Theme Custom
*/
?>
<?php
if ( ! current_user_can( 'edit_theme_options' ) ) {
?><p>You doe not have access to custom this theme</p><?php
} else {
?><iframe src="http://local.wp34.com/wp-admin/customize.php" width="800" height="800"></iframe><?php
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment