Title: [Plugin: Genesis Simple Hooks] Alternative conditional statements problem
Last modified: August 20, 2016

---

# [Plugin: Genesis Simple Hooks] Alternative conditional statements problem

 *  [zamba](https://wordpress.org/support/users/zamba/)
 * (@zamba)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-genesis-simple-hooks-alternative-conditional-statements-problem/)
 * I want to display nrelate and some social buttons on all posts but not on category
   pages. I successfully used the statement `<?php if (!is_category()) { ?>`. I 
   then wanted to exclude both category and author pages, so I tried the code `<?
   php if (!is_category()) || (!is_author()) { ?>` which caused nothing to be displayed
   on normal post pages as well as the author and category pages. Obviously I’ve
   missed something, can anyone help?
    I’m using Simple Hooks 1.8.0.2.
 * [http://wordpress.org/extend/plugins/genesis-simple-hooks/](http://wordpress.org/extend/plugins/genesis-simple-hooks/)

The topic ‘[Plugin: Genesis Simple Hooks] Alternative conditional statements problem’
is closed to new replies.

 * ![](https://ps.w.org/genesis-simple-hooks/assets/icon-256x256.png?rev=1335659)
 * [Genesis Simple Hooks](https://wordpress.org/plugins/genesis-simple-hooks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/genesis-simple-hooks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/genesis-simple-hooks/)
 * [Active Topics](https://wordpress.org/support/plugin/genesis-simple-hooks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/genesis-simple-hooks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/genesis-simple-hooks/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [zamba](https://wordpress.org/support/users/zamba/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-genesis-simple-hooks-alternative-conditional-statements-problem/)
 * Status: not resolved