Title: florettech's Replies | WordPress.org

---

# florettech

  [  ](https://wordpress.org/support/users/florettech/)

 *   [Profile](https://wordpress.org/support/users/florettech/)
 *   [Topics Started](https://wordpress.org/support/users/florettech/topics/)
 *   [Replies Created](https://wordpress.org/support/users/florettech/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/florettech/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/florettech/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/florettech/engagements/)
 *   [Favorites](https://wordpress.org/support/users/florettech/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Search with Algolia] Exclude pages based on ACF field value](https://wordpress.org/support/topic/exclude-pages-based-on-acf-field-value/)
 *  Thread Starter [florettech](https://wordpress.org/support/users/florettech/)
 * (@florettech)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/exclude-pages-based-on-acf-field-value/#post-16667239)
 * [@tw2113](https://wordpress.org/support/users/tw2113/) Thank you for your quick
   response! You were spot on. 
   Looking back, I had created the field as an ACF 
   True/False field (not a checkbox as described in the article), which stores as
   an _integer_ 0 or 1 not as a boolean. Changing the line: `if ( 1 === $excluded){`
   to: `if 1 == $excluded ) {`did the trick.
 * Many thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ajax Load More – Infinite Scroll, Load More, & Lazy Load] Repeated Template gets overwritten with empty content](https://wordpress.org/support/topic/repeated-template-gets-overwritten-with-empty-content/)
 *  Thread Starter [florettech](https://wordpress.org/support/users/florettech/)
 * (@florettech)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/repeated-template-gets-overwritten-with-empty-content/#post-12284351)
 * [@dcooney](https://wordpress.org/support/users/dcooney/) Your solution of adding
   the default.php file to the template directory has fixed my issue. Thank you 
   very much!

Viewing 2 replies - 1 through 2 (of 2 total)