Custom Index Page.. Help Need..
Hi,
I copied a page.php file and renamed to tpl-homepage.php and the code is follows:
<?php
/*
Template Name: myHome Page */
require_once dirname( __FILE__ ) . '/form_process.php';
get_header();
include_classified_form();
?>
<div class="content">
<div class="main ins">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="left">
<div class="title">
<h2><?php the_title(); ?></h2>
<div class="clear"></div>
</div>
<div class="product">
<?php the_content(__('Read more »','cp')); ?>
<?php edit_post_link(__('Edit Page','cp'), '
', '</p>'); ?>
</div>
</div>
<?php endwhile; endif; ?>
<?php get_sidebar(); ?>
<div class="clear"></div>
</div>
</div>
<?php get_footer(); ?>
I created a page in wordpress admin called home and changed the setting in reading to static accordingly.
My problem is the title tag and meta tags I am unable to add to the index file. When I open the site the title is as follows:
"
| website Name - Mozilla Firefox"
I tried using the All in one
seo plugin it is not helping me.
Can any body help me to solve above problem.
Your comments and suggestion will highly appreciated.
Thanks and regards
Shariff