Support

Account

Home Forums ACF PRO Getting number of times selected from relationship field Reply To: Getting number of times selected from relationship field

  • If it was any other column I would have had no problem,
    The thing is this column is using a total count of information that is no present on the locations posts.

    This is why I can’t use a custom field from the post and use meta_value_num to order it by.

    The only idea I have is making a custom field that the function will insert the information to and then to sort by it but I’m having troubles in implementing such a thing.

    WordPress tutorials I’ve checked weren’t very helpful because none of them refer to my situation using information from a custom field which is not on the post itself but with relationship fields from other posts.