Results 1 to 4 of 4

Thread: Custom Index Page.. Help Need..

  1. #1
    Thread Starter
    Newbie
    Not a Verified Customer
    shariff's Avatar
    Join Date
    Aug 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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 &raquo;','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

  2. #2
    Thread Starter
    Newbie
    Not a Verified Customer
    shariff's Avatar
    Join Date
    Aug 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Custom Index Page.. Help Need..

    thanks solved the issue

  3. #3
    johnster's Avatar
    Join Date
    Jul 2010
    Location
    United Kingdom
    Posts
    24
    Thanks
    10
    Thanked 0 Times in 0 Posts
    Hey Shariff,

    How did you solve this problem? I got the same issue and i want to change the title tags for my homepage.

  4. #4
    pepsi's Avatar
    Join Date
    Mar 2009
    Location
    New Zealand
    Posts
    14,883
    Thanks
    91
    Thanked 804 Times in 718 Posts
    That person is not a verified customer so they will no longer have access to the forums to be able to respond to you. If it's something you want help with you may want to create a new thread for this in the relevant section of the forums (this section is for users of versions 2.9.x)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)