• 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

    (@owendevelopment)

    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

    (@andrewdraws209)

    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.