Title: exclude/include multiple pages?
Last modified: February 21, 2017

---

# exclude/include multiple pages?

 *  Resolved [jtibbles](https://wordpress.org/support/users/jtibbles/)
 * (@jtibbles)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/excludeinclude-multiple-pages/)
 * I want to show a widget on 2 pages only. Their ids are 51 and 52. How do I write
   this in the Conditions field? I can just write “51” which shows only in 51, but
   for multiple pages I’ve tried:
    51 52 51,52 51&52 51-52 51|52 51:52 51+52 [51][
   52] [page:51 52] [page:51&52] [page:51+52] [page:51][page:52]
 * none of that works. The documentation doesn’t tell you anything about multiple
   pages. What is the correct syntax to use?
    -  This topic was modified 9 years, 1 month ago by [jtibbles](https://wordpress.org/support/users/jtibbles/).

Viewing 1 replies (of 1 total)

 *  Thread Starter [jtibbles](https://wordpress.org/support/users/jtibbles/)
 * (@jtibbles)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/excludeinclude-multiple-pages/#post-8831425)
 * I withdraw my question, I’ve just noticed the text “on a line by itself” 🙂
 * So anybody with the same issue ( who, like me can’t read instructions), it’s 
   one line per id

Viewing 1 replies (of 1 total)

The topic ‘exclude/include multiple pages?’ is closed to new replies.

 * ![](https://ps.w.org/widgets-control/assets/icon-256x256.png?rev=1526585)
 * [Widgets Control](https://wordpress.org/plugins/widgets-control/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/widgets-control/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/widgets-control/)
 * [Active Topics](https://wordpress.org/support/plugin/widgets-control/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/widgets-control/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/widgets-control/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [jtibbles](https://wordpress.org/support/users/jtibbles/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/excludeinclude-multiple-pages/#post-8831425)
 * Status: resolved