Categories
CMS Mastering Development Wordpress

What is the problem of this code

<div class="container ">
    <div class="row">
        <section>
            <div class="col-sm-8 main_site_article">
               <div class="site_articale">
                 
               <?php if (have_posts()) : ?>
            <?php while (have_posts()) : the_post(); ?>
              <div class="post">
              <h2 id="post-<?php the_ID(); ?>">
          <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
              <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
                </div>
              <?php endwhile; ?>

               </div>
               <div class="site_articale">
                
               </div>

            </div>

        </section>
        
        <?php get_sidebar(); ?>
        
    </div>
    
</div>
<!-- Footer -->

Leave a Reply

Your email address will not be published. Required fields are marked *