Support » Installing WordPress » why in my pages is apearing my posts?

Viewing 1 replies (of 1 total)
  • this code cause this error

    <?php
    $posts = get_posts('numberposts=4');
    foreach($posts as $post) :
    setup_postdata($post);
    ?>
    <li>
    <a href="<?php the_permalink(); ?>" alt="Leia o post">
    <b><?php the_title(); ?></b>
    </a><br>
    <span><?php the_time('d/m') ?> | </span>
    <!--<img src="http://BALAODECOMETARIOS">--> <?php comments_number('0 ', '1', '%', 'comments-link', 'Comments are off for this post')?> comentários
    <br>
    </li>
    <?php endforeach; ?>
Viewing 1 replies (of 1 total)
  • The topic ‘why in my pages is apearing my posts?’ is closed to new replies.