Support

Account

Home Forums Front-end Issues Querying relationship fields not working Reply To: Querying relationship fields not working

  • If it is after the regular loop and not inside “The Loop” then get_the_ID() is likely not returning the correct ID if it is returning an ID at all. You should check this

    
    // before query
    var_dump(get_the_ID());