Jump to content

header.tpl to header.php

Recommended Posts

Is it possible to change the header.tpl to header.php i know how to save the file as a .php but how do you change the callheader.tpl function to header.php


If this is not possible can someone please tell me how to use php in the header file as when i use the code below i get no response but it works fine as a php file.


<link rel="stylesheet" type="text/css" href="http://www.mysite.com/wp-content/themes/parallelus-unite/css/reset.min.css" />
<link rel="stylesheet" type="text/css" href="http://www.mysite.com/wp-content/themes/parallelus-unite/css/menu.min.css" />
<link rel="stylesheet" type="text/css" href="http://www.mysite.com/wp-content/themes/parallelus-unite/css/fancybox.css" />
<link rel="stylesheet" type="text/css" href="http://www.mysite.com/wp-content/themes/parallelus-unite/css/tooltip.min.css" />
<link rel="stylesheet" type="text/css" href="http://www.mysite.com/wp-content/themes/parallelus-unite/style-default.css" />
   <link rel="stylesheet" href="http://www.mysite.com/wp-content/themes/parallelus-unite/style-skin-4.css" type="text/css" id="SkinCSS" />
$posts = get_posts('numberposts=10&order=ASC&orderby=post_title');
foreach ($posts as $post) : start_wp(); ?>

<div id="MenuWrapper">
			<div id="MainMenu">
				<div id="MmLeft"></div>
				<div id="MmBody">

					<!-- Main Menu Links -->
					<ul class="sf-menu">
						<li class="<?php if (is_home()) : echo 'current'; endif; ?>"><a href="<?php bloginfo('url'); ?>">Home</a></li>
						<?php printMenuItems(); ?>
				<ul class="sf-menu">	<script type="text/javascript" src="http://www.mysite.com/support/image.php?v=PGEgaHJlZj1cImphdmFzY3JpcHQ6dm9pZCh3aW5kb3cub3BlbignaHR0cDovL3d3dy5taWxlc3RvbmVtZWRpYS5pZS9zdXBwb3J0L2xpdmV6aWxsYS5waHAnLCcnLCd3aWR0aD01OTAsaGVpZ2h0PTU1MCxsZWZ0PTAsdG9wPTAscmVzaXphYmxlPXllcyxtZW51YmFyPW5vLGxvY2F0aW9uPXllcyxzdGF0dXM9eWVzLHNjcm9sbGJhcnM9eWVzJykpXCIgPCEtLWNsYXNzLS0-PjwhLS10ZXh0LS0-PC9hPjwhPkxpdmUgSGVscCAoT25saW5lKTwhPkxpdmUgSGVscCAoT2ZmbGluZSk8IT4_"></script></ul>
				<div id="MmRight"></div>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated