HEADER.PHP

<!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo('charset')?>" /> <?php if(is_search()) : ?> <meta name="robots" content="noindex, nofollow"/> <?php endif; ?> <title><?php bloginfo('name');?></title> <link rel="shortcut icon" type="image/x-icon" href="<?php echo FAVICON ?>"> <link rel="pingback" href="<?php bloginfo('pingback_url')?>"> <?php wp_head()?> </head> <body <?php body_class()?> > </body> </html> ------------------------------FAVICON----------------------------------------------- <?php if(!defined('FAVICON')){ define('FAVICON',WP_CONTENT_URL.'/themes/favicon.ico'); } ?>

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.