Support » Themes and Templates » Posting On page

  • Hi,

    I Just want to know if anyone has been able to display posts from a certain catatagory on a page in “Bussiness-lite” template.

    I have used the following code to generate my posts from a certain category on a page:

    <?php
    /*
    Template Name: PageOfPosts
    */
    get_header(); ?>
    <?php
    query_posts('catname=sample');
    while (have_posts()) : the_post();
    the_content();
    endwhile;
    ?>
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    But I just cant display information such as author, date, time, etc… like the original template itself. I’ll appreciate any help.

    Thanks,

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Posting On page’ is closed to new replies.