jetpack_custom_content_types_more_info

The Jetpack by WordPress.com jetpack custom content types more info function.

Description

jetpack_custom_content_types_more_info(); 

Usage

  1. if ( !function_exists( 'jetpack_custom_content_types_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_custom_content_types_more_info(); 
  7.  

Defined (1)

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

/modules/module-info.php  
  1. function jetpack_custom_content_types_more_info() { ?> 
  2.  
  3. <div class="jp-info-img"> 
  4. <img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/images/screenshots/custom-content-types.png' ) ?>" alt="<?php esc_attr_e( 'Custom Content Type', jetpack ) ?>" width="300" height="150" /> 
  5. </div> 
  6.  
  7. <p><?php esc_html_e( 'Organize and display different types of content on your site, separate from posts and pages.', jetpack ); ?></p> 
  8. <p><?php printf( __( 'To enable a custom content type, head over to <a href="%s">Settings → Writing → Your Custom Content Types</a> to activate either "Portfolio Projects* or *Testimonials* by checking the corresponding checkbox. You can now add projects and testimonials under the new "Portfolio* or *Testimonials* menu item in your sidebar.', jetpack ), admin_url( 'options-writing.php#cpt-options' ) ); ?></p> 
  9. <p><?php 
  10. /** translators: all variables are URLs */ 
  11. printf( 
  12. __( 
  13. 'Once added, your custom content will be visible on your website at %1$s or %2$s, or you may add them with <a href="%3$s" target="_blank">shortcodes</a>.',  
  14. jetpack 
  15. ),  
  16. get_site_url() . '/portfolio/',  
  17. get_site_url() . '/testimonial/',  
  18. 'http://jetpack.me/support/custom-content-types/' 
  19. ); 
  20. ?></p> 
  21. <?php