Posts to Pages

Posts to Pages

Hello Everyone, currently I have Jquery Mobile bringing in posts instead of pages. I want to change that around and I changed the code, but was getting an error. Below is a sample of what I have in my index.php file

<?php get_header(); ?> 

    <?php include('searchform.php'); ?>
   
    <ul data-role="listview" data-inset="true" data-theme="e" data-dividertheme="d">
           <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
            <li><a href="<?php the_permalink() ?>"><br /><?php the_title(); ?></a></li>
        <?php endwhile; ?>
    </ul>
    <?php include (TEMPLATEPATH . '/inc/nav.php' ); ?>

    <?php else : ?>
        <h2>Not Found</h2>
    <?php endif; ?>

<?php get_footer(); ?>

















Any help would be great.

Thank you!

Will