jetpack_related_posts_more_info

The Jetpack by WordPress.com jetpack related posts more info function.

Description

jetpack_related_posts_more_info(); 

Usage

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

Defined (1)

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

/modules/module-info.php  
  1. function jetpack_related_posts_more_info() { 
  2. $template = <<<EOT 
  3. <div class="jp-info-img"> 
  4. <a href="http://jetpack.me/support/related-posts/"> 
  5. <img class="jp-info-img" src="%s" alt="%s" width="300" height="98" /> 
  6. </a> 
  7. </div> 
  8.  
  9. <p>%s</p> 
  10. <p>→ <a href="http://jetpack.me/support/related-posts/">%s</a></p> 
  11. EOT; 
  12. printf( 
  13. $template,  
  14. plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/images/screenshots/related-posts.jpg' ),  
  15. esc_attr__( 'Related Posts', jetpack ),  
  16. esc_html__( '"Related Posts" shows additional relevant links from your site under your posts. If the feature is enabled, links appear underneath your Sharing Buttons and WordPress.com Likes (if you*ve turned these on).', jetpack ),  
  17. esc_html__( 'More information on using Related Posts.', jetpack ) 
  18. );