Title: &#8220;if&#8221; tag?
Last modified: August 19, 2016

---

# “if” tag?

 *  Resolved [cghd](https://wordpress.org/support/users/cghd/)
 * (@cghd)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/if-tag/)
 * I have a website where I post videos running wordpress. Since I use my latest
   posts page as my home page, I don’t want the videos to auto start on that page,
   or any other page where there is more than one video. However, I would like the
   video to auto play on the post page. Now my question is if there is some sort
   of code that can change a value depending on if it is on the front page or the
   page with just the post.
 * I am using the [Motion theme by 85 Ideas](http://85ideas.com/public-releases/wordpress-theme-motion/),
   WordPress 2.9.2, and I am embedding the videos using the [Divx web code generator](http://labs.divx.com/WebPlayerCodeGenerator).

The topic ‘“if” tag?’ is closed to new replies.

## Tags

 * [Autoplay](https://wordpress.org/support/topic-tag/autoplay/)
 * [variable](https://wordpress.org/support/topic-tag/variable/)
 * [video](https://wordpress.org/support/topic-tag/video/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [cghd](https://wordpress.org/support/users/cghd/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/if-tag/)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
