WordPress.org

Ready to get started?Download WordPress

Forums

Genesis Simple Hooks
Alternative conditional statements problem (1 post)

  1. zamba
    Member
    Posted 2 years ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic