mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 12:51:58 +00:00
Theme Customizer: Add a link to customize the current theme. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20354 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -107,6 +107,7 @@ if ( ! is_multisite() && current_user_can( 'install_themes' ) ) : ?>
|
||||
printf( __( '%1$s %2$s by %3$s' ), $ct->display('Name'), $ct->display('Version'), $ct->display('Author') ) ; ?></h4>
|
||||
<p class="theme-description"><?php echo $ct->display('Description'); ?></p>
|
||||
<div class="theme-options">
|
||||
<a href="#" class="load-customize hide-if-no-js" data-customize-template="<?php echo esc_attr( $ct->get_template() ); ?>" data-customize-stylesheet="<?php echo esc_attr( $ct->get_stylesheet() ); ?>" title="<?php echo esc_attr( sprintf( __( 'Customize “%s”' ), $ct->get('Name') ) ); ?>"><?php _e( 'Customize' )?></a>
|
||||
<span><?php _e( 'Options:' )?></span>
|
||||
<?php
|
||||
// Pretend you didn't see this.
|
||||
|
||||
Reference in New Issue
Block a user