Hi,
The Template include tags are used within one Template file to execute the HTML and PHP in another template file. PHP has a built in include() statement for this purpose but these wordpress template tags make including certain specific files much easier.
The Header:
<?php get_header(); ?>
The Footer:
<?php get_footer(); ?>
The Sidebar:
<?php get_sidebar(); ?>
<?php get_sidebar(‘right’); ?>
The Search Form:
<?php get_search_form(); ?>
The Comments:
<?php comments_template(); ?>
Include any other: [here is header2]
<?php include( TEMPLATEPATH . ‘/header2.php’ ); ?>
Thanks,
Shane G.
Popularity: 1%