Answers.Body: <p>I found it here: <a href="https://docs.craftcms.com/v3/dev/element-queries/entry-queries.html#parameters" rel="nofollow noreferrer">https://docs.craftcms.com/v3/dev/element-queries/entry-queries.html#parameters</a></p>
  
  <pre><code>        type: ['not', 'webinarsLanding', 'caseStudyLanding'],
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-23T17:54:19.330Z
Answers.LastActivityDate: 2018-10-23T17:54:19.330Z
Answers.UserDisplayName: Danielle Frappier
Body: <p>Here is my query:</p>
  
  <pre><code>{% set resources = craft.entries({
      section: 'resources',
      type: 'not caseStudyLanding'
      relatedTo: filterParams,
      orderBy: 'postDate desc'
  }) %}
  </code></pre>
  
  <p>I would like to exclude two entry types (caseStudyLanding and webinarsLanding) but I have been struggling with the syntax. </p>
  
Tags: <entry-type><query>
Title: exclude array of entry types in query
ThreadText: # exclude array of entry types in query
  
  (Asked by: username_0 on 2018-10-23)
  
  Here is my query:
  
  ```
  {% set resources = craft.entries({
      section: 'resources',
      type: 'not caseStudyLanding'
      relatedTo: filterParams,
      orderBy: 'postDate desc'
  }) %}
  
  ```
  
  I would like to exclude two entry types (caseStudyLanding and webinarsLanding) but I have been struggling with the syntax.
  
  **Tags:** entry-type, query
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2018-10-23. Score: 2
  
  I found it here: <https://docs.craftcms.com/v3/dev/element-queries/entry-queries.html#parameters>
  
  ```
          type: ['not', 'webinarsLanding', 'caseStudyLanding'],
  
  ```
  
  
  ---
  
  