Title: Conditional tags in post
Last modified: August 19, 2016

---

# Conditional tags in post

 *  [cghd](https://wordpress.org/support/users/cghd/)
 * (@cghd)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/conditional-tags-in-post/)
 * I need to add the conditional tags is_single() and is_home() into certain posts
   to toggle the auto-play of a video on single and home pages. This isn’t working
   for me, and a quick google search didn’t turn up anything on whether these tags
   can be used in the context of a post. If not, any ideas on how to do this otherwise?

Viewing 1 replies (of 1 total)

 *  [Shane G.](https://wordpress.org/support/users/shane-g-1/)
 * (@shane-g-1)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/conditional-tags-in-post/#post-1530068)
 * Hi,
 * Check with these articles:
 * [http://codex.wordpress.org/Conditional_Tags#A_Single_Post_Page](http://codex.wordpress.org/Conditional_Tags#A_Single_Post_Page)
   
   [http://codex.wordpress.org/Conditional_Tags#The_Main_Page](http://codex.wordpress.org/Conditional_Tags#The_Main_Page)
 * Thanks,
 * Shane G.

Viewing 1 replies (of 1 total)

The topic ‘Conditional tags in post’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Shane G.](https://wordpress.org/support/users/shane-g-1/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/conditional-tags-in-post/#post-1530068)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
