Title: [Theme: iCandy] Page exclude bug
Last modified: August 20, 2016

---

# [Theme: iCandy] Page exclude bug

 *  [Person](https://wordpress.org/support/users/person/)
 * (@person)
 * [15 years ago](https://wordpress.org/support/topic/theme-icandy-page-exclude-bug/)
 * In initoptions.php
 * `if(count($options['candy_exclude']) > 1) {`
 * should be set to:
 * `if(count($options['candy_exclude']) > 0) {`
 * Otherwise you can’t exclude just a single page from the menu.
 * [http://wordpress.org/extend/themes/icandy/](http://wordpress.org/extend/themes/icandy/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [Person](https://wordpress.org/support/users/person/)
 * (@person)
 * [15 years ago](https://wordpress.org/support/topic/theme-icandy-page-exclude-bug/#post-2170535)
 * Also, in menu.php,
 * `if(!is_page())`
 * should really be:
 * `if(is_front_page())`
 * So that the Home link displays properly if someone set their home page to a static
   page.

Viewing 1 replies (of 1 total)

The topic ‘[Theme: iCandy] Page exclude bug’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/icandy/1.4/screenshot.png)
 * iCandy
 * [Support Threads](https://wordpress.org/support/theme/icandy/)
 * [Active Topics](https://wordpress.org/support/theme/icandy/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/icandy/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/icandy/reviews/)

## Tags

 * [exclude](https://wordpress.org/support/topic-tag/exclude/)

 * 1 reply
 * 1 participant
 * Last reply from: [Person](https://wordpress.org/support/users/person/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/theme-icandy-page-exclude-bug/#post-2170535)
 * Status: not resolved