tsoHost Help Centre

Table of Contents

Change the header in WordPress

Updated May 5th, 2021 at 14:57 BST

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.

Before making any changes to a WordPress theme, add a child theme.

Connect to your site with FTP or navigate to your Managed WordPress Dashboard -> Tools -> File Browser -> Open

Navigate to the /wp-content/themes directory.

Open the directory containing the theme you wish to work with.

Locate the header.php file.

Copy the file to the appropriate child theme directory.

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.