Support » Plugin: Pods - Custom Content Types and Fields » Syntax for “Where” (Elementor Widget)

  • Resolved Luke Hutchison

    (@luclearmedia)


    What is the syntax for the “where” attribute for pods? I am using the “Pods – List Items” Widget. The template works great but I cannot get it to render anything using the where condition. I would like to pull category.slug=’upcoming-events’ , but it doesn’t render anything. Anyone have any incite to this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Matt Knowles

    (@aestheticdesign)

    What I got to work in the shortcode is something like this:

    where=”company.meta_value = ‘Chiefs'”

    So try:

    where=”category.slug = ‘upcoming-events'”

    Thread Starter Luke Hutchison

    (@luclearmedia)

    Thanks for your reply Matt – I had the syntax right, but my category name wasn’t ‘category’. I was choosing the wrong name for the taxonomy. I switched it to ‘eventcategory’ and it worked great after that.

    All fixed… Your help is appreciated!

    Plugin Author Jim True

    (@jimtrue)

    Thanks @aestheticdesign for jumping in and helping out 😉

    Glad you’re working @luclearmedia

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Syntax for “Where” (Elementor Widget)’ is closed to new replies.