Support

Account

Home Forums Front-end Issues Query posts by user relationship field Reply To: Query posts by user relationship field

  • @hube2 I agree I need to update all the values however I don’t think that is right..

    If the post ID was 1

    'meta_value' => ':' . $post_ID . ';' would only match exactly :1; not all the numbers you listed?

    Obviously I won’t have a low post ID like 1 they’re more likely to be in the 100s and there’s only likely to be a few post IDs maximum saved in each field value.

    I will look at looping through and re-saving the values to the database.