html to php error
I am converting from html to WP. The theme does not show any error until I don't add the following code,

    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
As I add it, I start getting an error at the last line of my code. Please help me out. Thanks
html to php error
===

I am converting from html to WP. The theme does not show any error until I don't add the following code,

    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
As I add it, I start getting an error at the last line of my code. Please help me out. Thanks