Paso 1
Nos vamos al directorio wp-content/themes/ alli creamos la carpeta del tema a desarrollar, bajo la siguiente estructura.
├── 404.php
├── category.php
├── comments.php
├── footer.php
├── front-page.php
├── functions.php
├── header.php
├── home.php
├── index.php
├── page.php
├── screenshost.png
├── search.php
├── sidebar.php
├── single.php
└── style.css
Paso 2
Abrimos el archivo header.php que contendra la siguiente lineas
1 2 3 4 5 6 7 8 9 10 11 12 |
<!DOCTYPE html> <html lang="<?php bloginfo('language'); ?>"> <head> <meta charset="<?php bloginfo('charset'); ?>"> <title><?php bloginfo('name'); ?></title> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url') ?>"> <?php wp_head(); ?> </head> <body> <header> <h1><?php bloginfo('name'); ?></h1> </header> |