Title: Sortable?
Last modified: August 21, 2016

---

# Sortable?

 *  Resolved [monitor](https://wordpress.org/support/users/oomskaap/)
 * (@oomskaap)
 * [13 years ago](https://wordpress.org/support/topic/sortable/)
 * I have a full page that only lists comments.
    WOuld it be possible with your 
   plugin to sort comments from highest likes to lowest?
 * Thanks
 * [http://wordpress.org/extend/plugins/zaki-like-dislike-comments/](http://wordpress.org/extend/plugins/zaki-like-dislike-comments/)

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

 *  Plugin Author [Riccardo Conte](https://wordpress.org/support/users/rconte-1/)
 * (@rconte-1)
 * [13 years ago](https://wordpress.org/support/topic/sortable/#post-3829226)
 * Hello,
    currently the function is not provided but since that might actually 
   be useful will then insert it into the next release of the plugin that will be
   released shortly. Will include a function that extrapolate all comments or comments
   of a post sorted by rank.
 *  [dynamix25](https://wordpress.org/support/users/dynamix25/)
 * (@dynamix25)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/sortable/#post-3829279)
 * I have a problem with the plugin 🙁
 * here is the errors when i try to send a comment from a new user:
 * Warning: Cannot modify header information – headers already sent by (output started
   at wp-content/plugins/zaki-like-dislike-comments/classes/class-zaki-like-dislike.
   php:169) in wp-includes/comment.php on line 621
 * Warning: Cannot modify header information – headers already sent by (output started
   at wp-content/plugins/zaki-like-dislike-comments/classes/class-zaki-like-dislike.
   php:169) in wp-includes/comment.php on line 622
 * Warning: Cannot modify header information – headers already sent by (output started
   at wp-content/plugins/zaki-like-dislike-comments/classes/class-zaki-like-dislike.
   php:169) in wp-includes/comment.php on line 623
 * Warning: Cannot modify header information – headers already sent by (output started
   at wp-content/plugins/zaki-like-dislike-comments/classes/class-zaki-like-dislike.
   php:169) in wp-includes/pluggable.php on line 875
 *  Plugin Author [Riccardo Conte](https://wordpress.org/support/users/rconte-1/)
 * (@rconte-1)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/sortable/#post-3829281)
 * Hi dynamix25,
    would be better to start a new topic, however I answer here 😉
 * Line 169 is in the function that display the HTML of rate system, so the possibilities
   is two:
 * 1) You try to use “headers” after comments HTML output
    2) You have put this 
   code `<?php if (class_exists('ZakiLikeDislike')) ZakiLikeDislike::getLikeDislikeHtml();?
   >` before theme <html>
 * However without other details i can’t help you 🙁
    Can you send me your html 
   output as attachment?
 * Best regards
 *  [dynamix25](https://wordpress.org/support/users/dynamix25/)
 * (@dynamix25)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/sortable/#post-3829282)
 * Thanks for your help, but now i’m using another plugin 🙂
 * //Can you send me your html output as attachment?
    no, plugin was deleted 🙁
 * // You have put this code <?php if (class_exists(‘ZakiLikeDislike’)) ZakiLikeDislike::
   getLikeDislikeHtml(); ?> before theme <html>
    it is will be good if you save 
   that to readme 🙂
 *  Thread Starter [monitor](https://wordpress.org/support/users/oomskaap/)
 * (@oomskaap)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/sortable/#post-3829283)
 * [@riccardo](https://wordpress.org/support/users/riccardo/), pls let me know when
   this plugin is sortable by comments, such as
 * `query_posts(array(
    ‘showposts’=>32,’more’ => $more = 0, ‘v_sortby’ => ‘likes’,‘
   v_orderby’ => ‘DESC’,
 * That would be really handy!

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

The topic ‘Sortable?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/zaki-like-dislike-comments.svg)
 * [Zaki Like Dislike Comments](https://wordpress.org/plugins/zaki-like-dislike-comments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/zaki-like-dislike-comments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/zaki-like-dislike-comments/)
 * [Active Topics](https://wordpress.org/support/plugin/zaki-like-dislike-comments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/zaki-like-dislike-comments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/zaki-like-dislike-comments/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [monitor](https://wordpress.org/support/users/oomskaap/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/sortable/#post-3829283)
 * Status: resolved