'content', 'footer' => 'content', 'type' => 'click', 'render' => 'chaostheory_infinite_scroll_render', ) ); } add_action( 'after_setup_theme', 'chaostheory_infinite_scroll_init' ); /** * Set the code to be rendered on for calling posts, * hooked to template parts when possible. * * Note: must define a loop. */ function chaostheory_infinite_scroll_render() { while ( have_posts() ) : the_post(); ?>
>

' . __( 'Read More »', 'chaostheory' ) . '' ); ?> '' ) ); ?>