Support

Account

Home Forums Front-end Issues Get distinct values from a custom field

Helping

Get distinct values from a custom field

  • Hi !

    I’m looking for the more efficient way to retrieve all distinct values from a custom field.

    Here is my situation :
    I’m using WordPress. I have a custom field named ‘agent_suburb’. It’s used with my custom post type ‘agent’. I would like to get all distinct values from this particular custom type to create a select box for my research area.

    Any idea ? 🙂

    Thanks for your help

  • Hi, @aliasse were you able to find a solution for this issue?

    Dear moderators,

    I’m also facing the same issue and currently looking for a solution.

    Thank You.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Get distinct values from a custom field’ is closed to new replies.