Support » Plugins and Hacks » Looking for "latest pages" plugin

  • Hey! I really need wordpress plugin (or just php code) which shows last added pages (NOT POSTS/NEWS!) in my sidebar.

    Do u know any? I was looking for it for ages and didn’t find any..

    Thanks and sorry for my english.

Viewing 2 replies - 1 through 2 (of 2 total)
  • please.. It’s very important for me

    I GOT IT!

    It helped me:

       'post_type' => 'page',
    $my_query = new WP_Query($args);
    if( $my_query->have_posts() ) {
      while ($my_query->have_posts()) : $my_query->the_post(); ?>
        <p><small><?php the_time('m.d.y') ?></small> <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></p>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Looking for "latest pages" plugin’ is closed to new replies.