Change the header in WordPress

You can manually make changes to the PHP code in the header of your WordPress site. This enables you to change more than just the text that appears at the top of your pages.

  1. Before making any changes to a WordPress theme, add a child theme.
  2. Connect to your site with FTP.
  3. Navigate to the /wp-content/themes directory.
  4. Open the directory containing the theme you wish to work with.
  5. Locate the header.php file.
  6. Copy the file to the appropriate child theme directory.
  7. Edit and update the header.php file in the child theme directory.

Changes made to the header.php file located in the child theme directory will take precedence immediately over the original header.php.

More info


Var denne artikkelen nyttig?
Takk for din tilbakemelding. For å snakke med en representant fra kundeservice, bruker du telefonnummeret til støtte eller chatte-alternativet ovenfor.
Vi er glade for å kunne hjelpe deg! Er det noe annet vi kan gjøre for deg?
Vi beklager det. Fortell oss hva som var forvirrende eller hvorfor løsningen ikke løste ditt problem.