The Jetpack by jetpack tiled gallery more info function.




  1. if ( !function_exists( 'jetpack_tiled_gallery_more_info' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'jetpack-by-wordpress-com/modules/module-info.php'; 
  5. // NOTICE! Understand what this does before running. 
  6. $result = jetpack_tiled_gallery_more_info(); 

Defined (1)

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

  1. function jetpack_tiled_gallery_more_info() { ?> 
  2. <div class="jp-info-img"> 
  3. <img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/images/screenshots/tiled-gallery.png' ) ?>" alt="<?php esc_attr_e( 'Tiled Galleries', jetpack ) ?>" width="300" height="150" /> 
  4. </div> 
  6. <p><?php esc_html_e( 'Create elegant magazine-style mosaic layouts for your photos without having to use an external graphic editor.', jetpack ); ?></p> 
  7. <p><?php printf( __( 'When adding a gallery to your post, you now have the option to select a layout style for your images. We\'ve added support for Rectangular, Square, and Circular galleries. By default, galleries will continue to display using the standard thumbnail grid layout. To make the rectangular layout the default for all of your site\'s galleries, head over to <a href="%s">Settings → Media</a> and check the box next to "Display all your gallery pictures in a cool mosaic."', jetpack ), admin_url( 'options-media.php' ) ); ?></p> 
  8. <p><em><?php esc_html_e( 'Note: Images in tiled galleries require extra-special processing, so they will be served from\'s CDN even if the Photon module is disabled.', jetpack ); ?></em></p> 
  9. <?php