Title: PHP image in blog header
Last modified: August 18, 2016

---

# PHP image in blog header

 *  shimmyt
 * [21 years, 6 months ago](https://wordpress.org/support/topic/php-image-in-blog-header/)
 * I’m just starting out with wordpress, and I’ve been trying to insert a random
   image into the blog header. I’ve got a php file that does this nicely, but I 
   can’t figure out where to put it into wordpress. I figured out how to do a static
   image but not a random one. Any help would be greatly appreciated.

Viewing 1 replies (of 1 total)

 *  [Cypher](https://wordpress.org/support/users/cypher/)
 * (@cypher)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/php-image-in-blog-header/#post-105131)
 * If you look in `index.php` the `<div id="header">` portion is where the header
   is being placed.
    You can comment out the call to `bloginfo('name');` and add
   your own function that will return the image. Regards

Viewing 1 replies (of 1 total)

The topic ‘PHP image in blog header’ is closed to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [Cypher](https://wordpress.org/support/users/cypher/)
 * Last activity: [21 years, 6 months ago](https://wordpress.org/support/topic/php-image-in-blog-header/#post-105131)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
