Title: is_page &#8211;&gt; include
Last modified: August 19, 2016

---

# is_page –> include

 *  [rasmuscarlsen](https://wordpress.org/support/users/rasmuscarlsen/)
 * (@rasmuscarlsen)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/is_page-include/)
 * Hi,
 * I need to include something simple:
 * `<?php include("splash.php")?>` – and thats works just fine
 * However – I need on specifik pages and I dont want to start screwing the funcions.
   php (and similar).
 * My poor skills tels me to combine my very nice Include with this simple thing:
 *  ` <?php
    if (is_page(home)){};
 *  ?>`
 * How?
    (or should I make a function?)
 * thanks
 * rasmus

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

 *  [Matt McInvale](https://wordpress.org/support/users/mcinvale/)
 * (@mcinvale)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/is_page-include/#post-1777634)
 * If you want it to show up on your homepage, I like using is_front_page().
 *  Thread Starter [rasmuscarlsen](https://wordpress.org/support/users/rasmuscarlsen/)
 * (@rasmuscarlsen)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/is_page-include/#post-1777636)
 * yeah – I used is_page(home) but its the syntax I dont know
 *  ` <?php
    if (is_front_page){<?php include(“splash.php”)};
 * ?>`
    ??? ras
 *  Thread Starter [rasmuscarlsen](https://wordpress.org/support/users/rasmuscarlsen/)
 * (@rasmuscarlsen)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/is_page-include/#post-1777638)
 * bingo:
 * `<?php if (is_front_page()) include("splash.php")?>;`

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

The topic ‘is_page –> include’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [rasmuscarlsen](https://wordpress.org/support/users/rasmuscarlsen/)
 * Last activity: [15 years, 6 months ago](https://wordpress.org/support/topic/is_page-include/#post-1777638)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
