Table of contentsTabla de contenidos
Blocks vs Classic: A Tale of Two ThemesBloques vs clásico: Historia de dos temas
How to edit a block theme headerCómo editar la cabecera de un tema de bloques
How to Modify a Classic Theme's Header Using the CustomizerCómo modificar la cabecera de un tema clásico con el Personalizador
Change WordPress Header by Editing Theme FilesCambiar la cabecera de WordPress editando los archivos del tema
Download article as PDF
They say it's important to make a good first impression. When visitors arrive at your website, first impressions start at the top — at the top of the page.
WordPress theme developers aren’t required to include a header template, but it’s rare for a site to not have one. Since the dawn of the web, “header” has been the term used to refer to a block of HTML that encapsulates the essential elements that visitors expect to find at the top of pages. This typically includes:
Branding: This can include the site name and often a logo. Using color, images, or video in the header can reinforce that brand.
Main Navigation: If your website has more than one page, visitors will likely look for a navigation menu near the top of each page.
Secondary navigation: Secondary navigation could be any link independent of the user’s current location in the primary menu hierarchy. Think of a “login” button and icons that link to social media accounts or a shopping cart.
Search: If your website is searchable, the search input box doesn't have to be in the header, but visitors certainly won't be looking for it in the footer.
The WordPress CMS can dynamically generate components like headers by combining markup from theme templates with content found in a database — such as links to a logo and menu entries — and injecting them into each page.
The WordPress theme ecosystem offers a rich selection of designs cambodia phone number list for almost any website. With thousands of themes to choose from across multiple marketplaces, choosing the best one for your purpose can be daunting.
But when you finally select and install a theme , you're expected to customize at least some components — like the header — to stamp your brand on the site and make it your own.

Blocks vs Classic: A Tale of Two Themes
How you customize your WordPress site's header is determined by how your theme was built (and sometimes by how much customization you want to do). There are three ways to modify the header of a native WordPress site:
Using the Site Editor – tor for website content known as Gutenberg . With the release of WordPress 5.9 , the block concept was extended to theme customization and became a solid option for full site editing . The Site Editor and the ability to build the various parts of a website theme with HTML-based components brought unprecedented flexibility to native WordPress customization.
Using the WordPress Customizer – We don’t mean to make you feel old, but themes that can only be modified using the once-revolutionary Customizer and associated widgets are called “classic” themes. Despite the retro-sounding name, new classic-style themes are still being released, adding to the thousands already on the market. Compared to the Site Editor and Block themes, the Customizer and Classic themes offer fewer options for header customization.
Edit theme files directly : You (or someone you ask for help) will need basic PHP knowledge to edit the