Thread: WP problem
View Single Post
  #5 (permalink)  
Old 01-19-2008, 10:28 PM
BigAlReturns's Avatar
BigAlReturns BigAlReturns is offline
Moderator Extraordinaire!
 
Join Date: Dec 2007
Location: The Wirral, England
Posts: 291
Send a message via MSN to BigAlReturns
Default

Here is the page.php file as you requested - it just seems bizarre to me that it picks the right content but the wrong title! If it was wrong on both counts I'd at least understand a bit more!! I'm off to bed in a minute (half 3AM here!) but I'll put some more descriptive text in the pages and posts on the blog so that it's more clear whats going on. Thanks

PHP Code:
<?php get_header(); ?>

<?php get_sidebar(); ?>

<?php include (TEMPLATEPATH '/searchform.php'); ?>

<!-- Start main content -->
            <div id="content">
                <div id="intro">
                    <div class="intro_t">
                        <h1><?php the_title(); ?><span class="editsection"><?php edit_post_link('Edit Page''[ '' ]'); ?></span></h1>
                    </div>
                </div> <!-- /intro -->

                <!-- Start main Content -->
                <div id="post">
                <?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
                    <div class="post" id="post-<?php the_ID(); ?>">

                    <?php the_content(); ?>
                    <?php link_pages('<p><strong>Pages:</strong> ''</p>''number'); ?>


                <!-- Trackback -->
                <?php trackback_rdf(); ?>

                </div> <!-- /post -->


                <?php endwhile; ?>

                <?php else : ?>

                <div class="post">
                    <h2><?php _e('Not Found'); ?></h2>
                    <div class="entry">
            <p class="notfound"><?php _e('Sorry, but you are looking for something that isn't here.'); ?></p>
                    </div>
                </div> <!-- /post -->

                <?php endif; ?>

                </div>





<?php get_footer(); ?>
Reply With Quote