|

How to create WordPress Header.php file

Add menu support in wordpress theme

What you need to include in your header.php file for your WordPress custom theme. See this example what to include in your header.php file.


<!DOCTYPE>
<html <?php language_attributes(); ?>> 
<head>
<title>Your custom title here</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="your custom description here" />
<meta name="keywords" content="your keywords here comma separated" />
<meta name="robots" content="index,follow" />
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/style.css" />
<?php wp_head();?>
</head>
<body>

Facebook Comments

Leave a Reply

Your email address will not be published. Required fields are marked *