More_Storefront_Control

Class to create a Customizer control for displaying information.

Defined (1)

The class is defined in the following location(s).

/more.php  
  1. class More_Storefront_Control extends WP_Customize_Control { 
  2.  
  3. /** 
  4. * Render the content on the theme customizer page 
  5. */ 
  6. public function render_content() { 
  7. ?> 
  8. <label style="overflow: hidden; zoom: 1;"> 
  9. <span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span> 
  10. <p> 
  11. <?php 
  12. printf( __( 'There\'s a range of Storefront extensions available to put additional power in your hands. Check out the %sStorefront%s page in your dashboard for more information.', 'enigma' ), '<a href="' . esc_url( admin_url() . 'themes.php?page=storefront-welcome#add-ons' ) .'">', '</a>' ); 
  13. ?> 
  14. </p> 
  15.  
  16. <span class="customize-control-title"><?php _e( 'Enjoying Storefront?', 'enigma' ); ?></span> 
  17. <p> 
  18. <?php 
  19. printf( __( 'Why not leave us a review on %sWordPress.org%s? We\'d really appreciate it!', 'enigma' ), '<a href="https://wordpress.org/themes/storefront">', '</a>' ); 
  20. ?> 
  21. </p> 
  22. </label> 
  23. <?php