Support

Account

Home Forums General Issues Trouble with relationship query Reply To: Trouble with relationship query

  • Hi @elliot

    I was able to get the query to work by removing the quotes from the value param as such:

    'value' => get_the_ID(), // dropped the quotes around the value since its a number

    Hopefully this doesn’t cause other issues, but I’m glad it’s working. Any thoughts on why it’s different from your code? Perhaps you can explain further why the quotes were there in the first place. Have you seen issues arise with false positives?