Title: Widget appears on post not in array
Last modified: August 20, 2016

---

# Widget appears on post not in array

 *  [MiKemp](https://wordpress.org/support/users/mikemp/)
 * (@mikemp)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/widget-appears-on-post-not-in-array/)
 * Using version 0.56.
    This [post](http://willysgym.com/personal-training/28-day-flat-belly-program/)
   displays a widget (tennis) not defined in the array. Page ID (1625) is not included
   in this array is_page(array(28,349,346,351,104,353,782,1019)) Have never seen
   this and would appreciate guidance. Thanks, and thanks for donating to cancer
   research (from a survivor). Mike
 * [http://wordpress.org/extend/plugins/widget-logic/](http://wordpress.org/extend/plugins/widget-logic/)

Viewing 1 replies (of 1 total)

 *  [alanft](https://wordpress.org/support/users/alanft/)
 * (@alanft)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/widget-appears-on-post-not-in-array/#post-3476457)
 * There’s one thing you could try that’s in the FAQ under “Logic using is_page()
   doesn’t work”, which explains there’s now a general problem with using is_page‘
   outside the loop’ (ie in the sidebar). In brief – try the wp_reset_query fix.
 * [http://wordpress.org/extend/plugins/widget-logic/faq/](http://wordpress.org/extend/plugins/widget-logic/faq/)

Viewing 1 replies (of 1 total)

The topic ‘Widget appears on post not in array’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/widget-logic_c8dde5.svg)
 * [Widget Logic](https://wordpress.org/plugins/widget-logic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/widget-logic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/widget-logic/)
 * [Active Topics](https://wordpress.org/support/plugin/widget-logic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/widget-logic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/widget-logic/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [alanft](https://wordpress.org/support/users/alanft/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/widget-appears-on-post-not-in-array/#post-3476457)
 * Status: not resolved