<p>A second limiter is added to the conditional like this:</p>

<pre><code>craft.entries.section('and, not homepage, not clientPage')
</code></pre>

CC BY-SA 3.0
2014-06-12T17:09:53.353Z
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?
carlcs
CC BY-SA 3.0
2014-06-12T17:26:41.917Z
I'm learning. There isn't good documentation on this topic IMO.
Anna_MediaGirl
CC BY-SA 3.0
2014-06-12T16:54:29.023Z
2014-06-12T16:54:29.023Z
Anna_MediaGirl
<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>

<logic><conditional>
How do I add a second section name to this logic?
# 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.  

---

