Support » Plugin: Genesis Simple Hooks » [Plugin: Genesis Simple Hooks] Alternative conditional statements problem

  • zamba

    (@zamba)


    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/

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