Title: [Plugin: AJAXed WordPress] Comments don&#8217;t thread
Last modified: August 19, 2016

---

# [Plugin: AJAXed WordPress] Comments don’t thread

 *  Resolved [junomagic](https://wordpress.org/support/users/junomagic/)
 * (@junomagic)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/plugin-ajaxed-wordpress-comments-dont-thread/)
 * I just upgraded to WP 2.5 and installed Ajaxed WordPress. I think I enabled the
   correct modules and picked the relevant options. But I can’t get the comments
   to thread, or the preview box to show up.

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

 *  [Aaron Butacov](https://wordpress.org/support/users/aaron-harun/)
 * (@aaron-harun)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/plugin-ajaxed-wordpress-comments-dont-thread/#post-742084)
 * It looks like you are using a different threaded comments plugin now. If you 
   are trying to switch to AWP, did you make edits to your theme? AWP assumes that
   the function comments_template() is still being called by your theme.
 *  Thread Starter [junomagic](https://wordpress.org/support/users/junomagic/)
 * (@junomagic)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/plugin-ajaxed-wordpress-comments-dont-thread/#post-742100)
 * Oops, I’m an idiot – I was asking not because of the JunoMagic blog, but because
   of my personal blog. And yeah, it looks like that function is not being called
   by my theme (which happens to be my first attempt at creating a theme of my own–*
   SIGH*).
 * Thank you for your help!
 * May I ask something else? Do you happen to know if the Comment E-Mail Responder
   Plugin works with Ajaxed WordPress? Because people at the JunoMagic blog have
   been hounding me about e-mail notifications for their comments …
 *  [Aaron Butacov](https://wordpress.org/support/users/aaron-harun/)
 * (@aaron-harun)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/plugin-ajaxed-wordpress-comments-dont-thread/#post-742108)
 * It won’t work by default, but by reading through the code, I think it can be 
   modified to work. I haven’t tested this, but basically what the modifications
   do is remove the non-email related functionality. Actual replies will be handled
   by AWP.
 * Open the plugin file.
 * Find:
    `if (isset($_POST["user_ID"]) and (!empty($_POST["reply_to"]))) {`
 * Replace With: _Fixes a security bug_
 *     ```
       global $userdata;
   
       	get_currentuserinfo();
   
       	$_POST["reply_to"]  = $_POST["comment_parent"];
   
       	if ($userdata->user_level == 10 and (!empty($_POST["reply_to"]))) {
       ```
   
 * Find:
 *     ```
       // Hook into comment display
   
       add_filter('get_comment_author_link', 'cer_add_comment_icon');
       add_action('comment_form', 'cer_add_comment_footer');
   
       // Bind Options Page to the admin menu
   
       add_action('admin_menu', 'cer_configure_pages');
   
       // Add Javascript bit to header
   
       add_action('wp_head', 'cer_add_code_header');
       ```
   
 * Replace With:
 *     ```
       // Hook into comment display
   
       //add_filter('get_comment_author_link', 'cer_add_comment_icon');
       //add_action('comment_form', 'cer_add_comment_footer');
   
       // Bind Options Page to the admin menu
   
       add_action('admin_menu', 'cer_configure_pages');
   
       // Add Javascript bit to header
   
       //add_action('wp_head', 'cer_add_code_header');
       ```
   

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

The topic ‘[Plugin: AJAXed WordPress] Comments don’t thread’ is closed to new replies.

 * 3 replies
 * 2 participants
 * Last reply from: [Aaron Butacov](https://wordpress.org/support/users/aaron-harun/)
 * Last activity: [18 years, 2 months ago](https://wordpress.org/support/topic/plugin-ajaxed-wordpress-comments-dont-thread/#post-742108)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
