• Resolved licinio

    (@licinio)


    Hi!

    I need to create a page template that besides having editable text and shows the thumbnail, can also have a list of pages that show thumbnail, title and excerpt.

    When I add the loop it only shows the content for current page, later I tried

    <?php rewind_posts(); ?>
    
        <!-- Get the last 10 posts in the special_cat category. -->
        <?php query_posts('category_name=catname&posts_per_page=10'); ?>

    Only it show, obviously, the posts and not the pages.

    I looked in the codex for a similar function like query_posts but for pages, but I couldn’t find one…

    Any ideas?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Create custom page that lists pages as news’ is closed to new replies.