How can I show more news on front page

I am using buddypress business theme.


on the homepages it only shows 2 of the latest entries. How can I make it show more?

  • maxaud
    • The Crimson Coder

    Modify line # 35 of home.php in the root of the theme files from:

    <?php query_posts('category_name='. $news_category . '&showposts=2'); ?>


    <?php query_posts('category_name='. $news_category . '&showposts=XXX'); ?>

    Where ‘XXX’ is the number of posts to display.

  • maxaud
    • The Crimson Coder

    You should know that it shows only two if the homepage is set to display a sidebar.

    Below the above mentioned code on line # 52 you’ll find this code:

    <?php query_posts('category_name='. $news_category . '&showposts=3'); ?>

    This will display 3 posts when the sidebar homepage template isn’t activated.

  • aecnu
    • WP Unicorn

    Greetings alexandegn,

    It appears that maxaud is all over this one spelling out the right answers faster then I can get to the tickets myself!

    And he is spot on with his answer.

    Nothing more for me to do here, but let me know if you need further help with this issue by check marking this post as not resolved below and posting what the errors or symptoms are.

    Cheers, Joe

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.