• Resolved foodles

    (@foodles)


    I have a custom post type called candidates and one of the custom fields is a custom taxonomy called race. The field name for the taxonomy is candidate_race I’m trying to use a PODS Item List block to list all of the candidates for a particular race. In the where option, I’ve tried race.slug = ‘governor’ and I’ve tried candidate_race.meta_value = ‘governor’. Neither one works. I always get “Pods Embed Error: WHERE contains SQL that is not allowed.” Just trying to get something to work, I tried t.post_title ASC in the orderby option, which was one of the suggested examples and got the same error message. I’m very new to PODS and very new to dynamic content in WordPress, so I don’t know if this is just user error or something weird is going on. Any help is appreciated.

Viewing 1 replies (of 1 total)
  • Thread Starter foodles

    (@foodles)

    I found the answer in this post after I thought to google the error code I had. I thought I would post what worked here in case anyone else ran into the same problem. Under PODS admin -> settings, I had to go down to the security section and change the setting for ‘Allow SQL clauses to be used in Dynamic Features’ to restricted. After that I was able to access what I wanted with candidate_race.slug = ‘governor’.

Viewing 1 replies (of 1 total)
  • The topic ‘Pods Item List Where Option’ is closed to new replies.