Support » Plugin: Decent Comments » how to display random comments in sidebar

  • hi
    tanks for great plugin. my problem is, how to display random comments by “decent comments” widget in sidebar?

    • This topic was modified 3 years, 10 months ago by BahramElf.
Viewing 4 replies - 1 through 4 (of 4 total)
  • any answer? any help?

    Hi,

    Thanks for asking, sorry but the plugin doesn’t offer this option.

    Cheers

    Hi Kento
    Thank you for your response, it will be a good option i think, for main page and display users comments

    Yes, maybe this could be added as an option. You could craft something using the comments_clauses hook to introduce some ORDER BY rand() although that could come with a big performance penalty (and on some hosts the query might not even be allowed or enabled).

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘how to display random comments in sidebar’ is closed to new replies.