Z
Zoid in Code
Enthusiast
Hey so I am making a brand new site for my clan in php but i cant get anything to be shown on the index.php
Header.php:
Footer.php:
PHP:
<?php include("header.php");
<div id="content">
<div id="main">
<h2><?php echo $the_title; ?></h2>
<?php echo $the_content; ?>
</div>
<?php include ("sidebar.php"); ?>
</div>
<?php include("footer.php"); ?>
<?php
Header.php:
PHP:
<?php include("functions.php"); ?>
<!DOCTYPE html>
<html>
<head>
<title><?php echo do_html_title($the_title) ?></title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="wrap">
<div id-"header">
<h1>Demo Theme</h1>
<p>Just a test to see if this works</p>
</div>
<div id="navigation">
<?php echo do_main_nav();?>
</div>
Footer.php:
Code:
<div id="footer">
<div class="footer_half">
<p>©Jack Sewell 2015</p>
</div>
<div class="footer_half t_align_right">
<p>Powered by <a href="https://www.google.com">Google</a></p>
</div>
</div>
</body>
</html>