Title: Adding button to all pages
Last modified: August 20, 2016

---

# Adding button to all pages

 *  [andrewdraws209](https://wordpress.org/support/users/andrewdraws209/)
 * (@andrewdraws209)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/adding-button-to-all-pages/)
 * Hi there!
 * I want to add a button/link to the upper right side of all my pages.
 * I understand that I’ll need to add a line of code to the HTML and then something
   else to the CSS.
 * But which HTML (or .php actually) page do I add the code to? Any help please?

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

 *  [Phil](https://wordpress.org/support/users/owendevelopment/)
 * (@owendevelopment)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/adding-button-to-all-pages/#post-2624084)
 * Depends where it is going.
 * If it’s in the very top part of the site (the header), you will need to edit:
 * Appearance –> editor –> header.php
 * If it’s not in the header but in the main body, you may need to edit a few files(
   index.php, page.php, single.php etc)
 * There are no html files with WordPress installs, as php outputs html within the
   php files.
 *  Thread Starter [andrewdraws209](https://wordpress.org/support/users/andrewdraws209/)
 * (@andrewdraws209)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/adding-button-to-all-pages/#post-2624091)
 * thanks for the reply!
 * yes, it would go in the header (top right)…
 * so I could put something like this:
 * [
    <img src=”image.gif” border=”0″>
 * where? in the body somewhere?
 * err, no … i’d need to make it a .div tag, right? so I could reference it in the
   CSS ?

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

The topic ‘Adding button to all pages’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [andrewdraws209](https://wordpress.org/support/users/andrewdraws209/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/adding-button-to-all-pages/#post-2624091)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
