twenty_ten_infinite_scroll_render

Set the code to be rendered on for calling posts, hooked to template parts when possible.

Description

twenty_ten_infinite_scroll_render(); 

Note: must define a loop.


Usage

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

Defined (1)

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

/modules/infinite-scroll/themes/twentyten.php  
  1. function twenty_ten_infinite_scroll_render() { 
  2. get_template_part( 'loop' );