Created
June 21, 2012 22:43
-
-
Save codehooligans/2969064 to your computer and use it in GitHub Desktop.
WordPress theme customizer iframe
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 | |
/* | |
* 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