Title: WP 3.8   Genesis
Last modified: August 21, 2016

---

# WP 3.8 Genesis

 *  Resolved [lzm_dev](https://wordpress.org/support/users/lzm_dev/)
 * (@lzm_dev)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/wp-38-genesis/)
 * Strange, this isn’t working with WP 3.8 + Genesis. Any idea why?
 * [https://wordpress.org/plugins/ajax-comment-loading/](https://wordpress.org/plugins/ajax-comment-loading/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [lzm_dev](https://wordpress.org/support/users/lzm_dev/)
 * (@lzm_dev)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/wp-38-genesis/#post-4749728)
 * Does anybody have a clue how to make AJAX Comment Loading working with Genesis
   Framework?
 *  Thread Starter [lzm_dev](https://wordpress.org/support/users/lzm_dev/)
 * (@lzm_dev)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/wp-38-genesis/#post-4749739)
 * The great Genesis-Framework Support (Andrea) helped me out to find the issue:
 * Change this:
 *     ```
       public function ajax_handler() {
                       global $post, $id, $cpage;
                       query_posts( array( 'p' => $_REQUEST['postid'] ) );
                       if ( have_posts() ) {
                               set_query_var( 'cpage', intval( $_REQUEST['cpage'] ) );
                               $_SERVER['REQUEST_URI'] = $_SERVER['HTTP_REFERER'];
                               the_post();
                               comments_template();
                               exit();
                       }
                       exit( 0 );
               }
       ```
   
 * to this in the plugin file:
 *     ```
       public function ajax_handler() {
                       global $post, $id, $cpage;
                       query_posts( array( 'p' => $_REQUEST['postid'] ) );
                       if ( have_posts() ) {
                               set_query_var( 'cpage', intval( $_REQUEST['cpage'] ) );
                               $_SERVER['REQUEST_URI'] = $_SERVER['HTTP_REFERER'];
                               the_post();
                               comments_template('',true); //this line
                               exit();
                       }
                       exit( 0 );
               }
       ```
   
 * It would be great if this enhancement find it’s way into the next update for 
   this plugin.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘WP 3.8 Genesis’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ajax-comment-loading_fcfcfc.svg)
 * [AJAX Comment Loading](https://wordpress.org/plugins/ajax-comment-loading/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ajax-comment-loading/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ajax-comment-loading/)
 * [Active Topics](https://wordpress.org/support/plugin/ajax-comment-loading/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ajax-comment-loading/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ajax-comment-loading/reviews/)

## Tags

 * [genesis](https://wordpress.org/support/topic-tag/genesis/)

 * 2 replies
 * 1 participant
 * Last reply from: [lzm_dev](https://wordpress.org/support/users/lzm_dev/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/wp-38-genesis/#post-4749739)
 * Status: resolved