I am trying to add in my own webistes php include into the header of a wordpress site.
this is the wordpress code for header.php:
<head profile="
http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php if (is_home()) { bloginfo('name'); ?><?php } elseif (is_category() || is_page() ||is_single()) { ?> <?php } ?><?php wp_title(''); ?></title>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url')
; ?>" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml"
title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_head(); ?> <!--we need this for plugins-->
</head>
<body>
<div id="wrapper">
<div id="container">
<div id="header">
<div id="logo">
<h1><a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
<h4><?php bloginfo('description'); ?></h4>
</div>
<div id="links">
<ul>
<?php wp_list_pages('title_li=&d
epth=1');?
>
</ul>
</div>
</div>
<div id="mainimg"></div>
And I can't seem to place my include php in the right place.
Start Free Trial