Answers.Body: <p>A second limiter is added to the conditional like this:</p>
  
  <pre><code>craft.entries.section('and, not homepage, not clientPage')
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-06-12T17:09:53.353Z
Answers.Text: We already had a [similar question](http://craftcms.stackexchange.com/questions/47/operators-in-hash/) this morning. Do you know how to combine more complex conditionals?
Answers.UserDisplayName: carlcs
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-06-12T17:26:41.917Z
Answers.Text: I'm learning. There isn't good documentation on this topic IMO.
Answers.UserDisplayName: Anna_MediaGirl
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-06-12T16:54:29.023Z
Answers.LastActivityDate: 2014-06-12T16:54:29.023Z
Answers.UserDisplayName: Anna_MediaGirl
Body: <p>I need to add a second section name to this code:</p>
  
  <pre><code>craft.entries.section('not homePage')
  </code></pre>
  
  <p>I can't figure out the correct formatting. I've tried:</p>
  
  <pre><code>craft.entries.section('not homePage,clientPage')
  craft.entries.section('not homePage, not clientPage')﻿
  </code></pre>
  
  <p>How do I add a second limiter? </p>
  
Tags: <logic><conditional>
Title: How do I add a second section name to this logic?
ThreadText: # How do I add a second section name to this logic?
  
  (Asked by: username_0 on 2014-06-12)
  
  I need to add a second section name to this code:
  
  ```
  craft.entries.section('not homePage')
  
  ```
  
  I can't figure out the correct formatting. I've tried:
  
  ```
  craft.entries.section('not homePage,clientPage')
  craft.entries.section('not homePage, not clientPage')﻿
  
  ```
  
  How do I add a second limiter?
  
  **Tags:** logic, conditional
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2014-06-12. Score: 3 | Accepted answer
  
  A second limiter is added to the conditional like this:
  
  ```
  craft.entries.section('and, not homepage, not clientPage')
  
  ```
  
  > **Comments:**
  > **username_1**: We already had a [similar question](http://craftcms.stackexchange.com/questions/47/operators-in-hash/) this morning. Do you know how to combine more complex conditionals?  
  > **username_0**: I'm learning. There isn't good documentation on this topic IMO.  
  
  ---
  
  