Support » Plugin: Comments - wpDiscuz » Display/sort comments by custom field

  • Resolved honlapmagus


    Hi guys,
    First have to say thank you for your amazing work with this plugin, it works perfectly.
    One thing I could not figure out:
    – I put a custom field in a form, like a subject
    – And would like to display comments separately on different pages according to their subject.
    I mean there are subjects “A” “B” “C” and I would like to show on page A only the “A” subject comments and so on.
    Hope it makes sense 🙂
    Is there any way for it?
    My WP: 5.3.2
    wpDisquz: 5.3.5
    Thank you in advance 🙂

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support gVectors Support


    Hi @honlapmagus,

    I’m really sorry but the wpDiscuz doesn’t have such functionality.
    However, if you are familiar with the development, you can try to do this by own.
    Below is provided the function you should use:
    The meta_key and meta_value should pass as a parameter. The value of the meta_key can be found in the Advanced Options. You can find this option just editing the custom field. See the screenshot here:
    The meta_value
    should be for example 1, 2.. and more depends on the options.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.