Title: [PLUGIN] Inline Ajax Comments
Last modified: August 18, 2016

---

# [PLUGIN] Inline Ajax Comments

 *  [kashou](https://wordpress.org/support/users/kashou/)
 * (@kashou)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/plugin-inline-ajax-comments/)
 * I have written a plugin that allows you to display comments below main page posts
   using ajax and moo.fx.
 * Plugin: [Inline Ajax Comments](http://kashou.net/blog/inline-ajax-comments/)
 * Comments welcomed.

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

 *  [Truth](https://wordpress.org/support/users/truth/)
 * (@truth)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/plugin-inline-ajax-comments/#post-341616)
 * I’m using it on my site and I had to say great work on it, very easy to use and
   customise. I got it working in minutes 🙂
 * But is it possible to disable the show comments when is it a protected entry?
   There is a show comments for protected entries and comments in these entries 
   can be viewed. Is there a way to change this?
 * Just a question, it would works in all browsers right? What if java etc is disable?
 * Thank you 🙂
 *  Thread Starter [kashou](https://wordpress.org/support/users/kashou/)
 * (@kashou)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/plugin-inline-ajax-comments/#post-341618)
 * Truth –
 * I added the protected post check into v0.2. Also, I haven’t found a clean way
   to check for javascript. Ideally, I would not show the link if javascript isn’t
   enabled. As of right now, if your javascript isn’t turned on the link just does
   nothing.
 * Let me know if you find anything else!
 *  [Truth](https://wordpress.org/support/users/truth/)
 * (@truth)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/plugin-inline-ajax-comments/#post-341747)
 * Thank you kashou, 0.2 is working great 🙂
 * I edited it a bit on inline-ajax-comments.php to only show the ‘add a comment’
   when comment is opend. Right, I see. Thanks 🙂
 *  [Makki](https://wordpress.org/support/users/makki/)
 * (@makki)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/plugin-inline-ajax-comments/#post-341771)
 * Man this is one kick-ass plugin. thanks for sharing man.
 *  Thread Starter [kashou](https://wordpress.org/support/users/kashou/)
 * (@kashou)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/plugin-inline-ajax-comments/#post-341789)
 * Glad you are enjoying it! Let me know if you can think of any improvements.
 * Right now the only thing on my list is to fix the “www.” quirk.
 *  [Truth](https://wordpress.org/support/users/truth/)
 * (@truth)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/plugin-inline-ajax-comments/#post-341791)
 * Right, I’m using the force www. preference plugin so it’s still all right. I 
   was wondering if it’s possible to have a “quick reply” like at the bottom instead
   of add a comment which redirects to the comment form, have a quick reply link
   so that the reply form appears below. (I don’t know if it’s even possible) but
   just a suggestion 🙂
 *  Thread Starter [kashou](https://wordpress.org/support/users/kashou/)
 * (@kashou)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/plugin-inline-ajax-comments/#post-342051)
 * I thought about that, but I think that it would add too much complexity for both
   me and the users. It wouldn’t be impossible to add to the inline comments, but
   I feel like forcing users to the main comment form isn’t such a bad thing.
 * If there are other users that feel the same way, I suppose I could be convinced
   otherwise.
 *  [Truth](https://wordpress.org/support/users/truth/)
 * (@truth)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/plugin-inline-ajax-comments/#post-342083)
 * Right, just a minor question, is it possible to reverse the comments order by
   having the latest showing first? Or do I have to manualy change that in one of
   the core files of wordpress? Thanks 🙂
 *  Thread Starter [kashou](https://wordpress.org/support/users/kashou/)
 * (@kashou)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/plugin-inline-ajax-comments/#post-342090)
 * Changing the order is actually very easy. You just need to add ‘DESC’ to the 
   sql statement in ajax-comments.php. But you will also need to reverse the numbering.
   If I were going to do that I would add another sql statement to get the number
   of comments returned and then set that as the first comment number and decrement
   after each iteration.
 * This seems like it might be a common request/nice feature, so I will add it into
   v0.3. It seems like you’ve already made a lot of changes to that file, but at
   least you will have it as an example to work from.
 * Keep the suggestions coming 🙂 (BTW, your site looks great!)
 *  [Truth](https://wordpress.org/support/users/truth/)
 * (@truth)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/plugin-inline-ajax-comments/#post-342093)
 * Thanks for taking this suggestion, kashou 🙂
 * Waiting for 0.3 😉 By the way, is it possible to use the same method you use 
   in ajax-comments.php for the reverse comments and numberings in the theme’s comments.
   php too?
 * Thank you. =D
 *  Thread Starter [kashou](https://wordpress.org/support/users/kashou/)
 * (@kashou)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/plugin-inline-ajax-comments/#post-342097)
 * v0.3 is out. 🙂
 * I will work on integrating that option into the tonus theme as well.
 *  [Truth](https://wordpress.org/support/users/truth/)
 * (@truth)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/plugin-inline-ajax-comments/#post-342110)
 * Upgraded to the latest, working really well. I think it might be good like what
   you say to only have the show comments links show up if javascript is enable 
   on the user’s browsers. Good luck working on it. 🙂

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

The topic ‘[PLUGIN] Inline Ajax Comments’ is closed to new replies.

## Tags

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

 * 12 replies
 * 3 participants
 * Last reply from: [Truth](https://wordpress.org/support/users/truth/)
 * Last activity: [20 years, 2 months ago](https://wordpress.org/support/topic/plugin-inline-ajax-comments/#post-342110)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
