• https://cleandrains.vmcweb.nl/

    I used this script to put the last 2 news messages on the left. The problem is that on the right where the page normally opens the content of the last message is visible.

    Is something wrongly closed because it happens on every page?

    <div class="coverboxes">
    <?php $posts = get_posts( "category=1&numberposts=2" ); ?>
    <?php if( $posts ) : ?>
         <?php foreach( $posts as $post ) : setup_postdata( $post ); ?>
           <div class="post">
    
              <p class="post-info-home"><span class="coverbox_header"><?php the_title(); ?></span></p>
              <div class="post-title-home">
           </div>
           <div class="entry">
              <?php the_excerpt(); ?>
              <em><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>">Read more</a></em>
           </div>
         </div>
       <?php endforeach; ?>
    <?php endif; ?>
    </div>
  • The topic ‘Page problem’ is closed to new replies.