Title: Code into each page
Last modified: August 20, 2016

---

# Code into each page

 *  [Spondootre](https://wordpress.org/support/users/spondootre/)
 * (@spondootre)
 * [15 years ago](https://wordpress.org/support/topic/code-into-each-page/)
 * Hi,
 * I am trying to add a bit of code into my wordpress site, it is a “LiveChat” button
   and I need to have it on every page and post.
 * So, I have so far managed to add it to the Home page by editing “home.php” and
   the pages which are displayed as about us, bespoke, contact us etc on the top
   of the website by editing the “page.php” file
 * but
 * I can’t get it added to the actual posts that I have without putting it directly
   into each post. I know I can add it to the “header.php” file but this looks very
   messy and adding it to the footer file seems to just hide it behind the footer
   that is already there. Any suggestions people? This is probably simple but I 
   don’t have a clue…..
 * The website is:
 * [http://www.everfurniture.com](http://www.everfurniture.com)
 * any help is appreciated!!

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years ago](https://wordpress.org/support/topic/code-into-each-page/#post-2100378)
 * Try editing single.php , index.php, archive.php etc.
 *  Thread Starter [Spondootre](https://wordpress.org/support/users/spondootre/)
 * (@spondootre)
 * [15 years ago](https://wordpress.org/support/topic/code-into-each-page/#post-2100441)
 * Thanks for the reply, I’ll give those a go tomorrow as I can’t access it tonight.
   Would these be in the theme folder? It is a custom theme….. I can’t remember 
   the directory structure as I’m not able to look until the morning….
 * Thanks
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years ago](https://wordpress.org/support/topic/code-into-each-page/#post-2100444)
 * Yes – they’re in your current theme’s folder.
 *  Thread Starter [Spondootre](https://wordpress.org/support/users/spondootre/)
 * (@spondootre)
 * [15 years ago](https://wordpress.org/support/topic/code-into-each-page/#post-2100525)
 * Thank you!! Now added to everywhere! Just need to get the colour scheme sorted
   out now but I actually know what im doing with that!
 * Much appreciated, thanks again 😉

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

The topic ‘Code into each page’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [Spondootre](https://wordpress.org/support/users/spondootre/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/code-into-each-page/#post-2100525)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
