Title: If Statement
Last modified: August 18, 2016

---

# If Statement

 *  [sbgulfcoast](https://wordpress.org/support/users/sbgulfcoast/)
 * (@sbgulfcoast)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/if-statement/)
 * I’m trying to figure out how I can write an if statement that will only display
   certain content in the right nav based upon the blog category.

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

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/if-statement/#post-344516)
 * Maybe this guide can help: [Conditional_Tags](http://codex.wordpress.org/Conditional_Tags)
 *  Thread Starter [sbgulfcoast](https://wordpress.org/support/users/sbgulfcoast/)
 * (@sbgulfcoast)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/if-statement/#post-344844)
 * perfect thanks.

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

The topic ‘If Statement’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [sbgulfcoast](https://wordpress.org/support/users/sbgulfcoast/)
 * Last activity: [20 years, 2 months ago](https://wordpress.org/support/topic/if-statement/#post-344844)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
