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

More info about WPPS.

Hjalp denne artikel?
Tak for din feedback. Benyt telefonnummeret til support eller chat-funktionen ovenfor, hvis du vil tale med en kundeservicerepræsentant.
Det glæder os, at vi kunne hjælpe! Er der andet, vi kan gøre for dig?
Beklager. Fortæl os, hvad du fandt forvirrende, eller hvorfor løsningen ikke løste dit problem.