0% found this document useful (0 votes)
25 views2 pages

Erp 1

This PHP template defines the header, navigation, body content, and footer sections for displaying a webpage. It includes PHP functions to output things like the site title, navigation menu, page content, and footer copyright. The template defines the basic structure and layout of the page.

Uploaded by

amar ami
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views2 pages

Erp 1

This PHP template defines the header, navigation, body content, and footer sections for displaying a webpage. It includes PHP functions to output things like the site title, navigation menu, page content, and footer copyright. The template defines the basic structure and layout of the page.

Uploaded by

amar ami
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

<?

php
/*
* This template for displaying the header
*/
?>
<!DOCTYPE html>
<html lang="<?php language_attributes(); ?>" class="no-js">
<head>
<meta charset="<?php bloginfo('charset') ?>">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="<?php echo get_template_directory_uri(); ?>/test.css">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<header id="header_area" class="<?php echo get_theme_mod('ali_menu_position'); ?>">
<div class="container">
<div class="row">
<div class="col-md-3">
<a href="<?php echo home_url(); ?>"><img src="<?php echo get_theme_mod('ali_logo'); ?>" alt=""></a>
</div>
<div class="col-md-9">
<?php wp_nav_menu( array('theme_location' => 'main_menu', 'menu_id' => 'nav') ); ?>
</div>
</div>
</div>
</header>
<h1>this is author tamplate</h1>
<section id="body_area">
<div class="container">
<div class="row">
<div class="col-md-12">
<?php the_content(); ?>
</div>
</div>
</div>
</section>

<footer id="footer_area">

<section id="copyright_area">
<div class="container">
<div class="row">
<div class="col-md-12">
<p><?php echo get_theme_mod('ali_copyright_section'); ?></p>
</div>
</div>
</div>
</section>
</footer>

<?php wp_footer(); ?>


</body>
</html>

You might also like