• Hello to everyone, i’m using this nice template but i wanna change number of posts in homepage.
    Website show me 13 posts and it’s very bad, something like
    3 posts
    3 posts
    3 posts
    3 posts
    1 post
    go to page 2

    Number of posts in homepage should be 12, how can i change it?
    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter 9overflow

    (@9overflow)

    Sorry i mean that wordpress show me 10 posts but i wanna see only 9.

    I tried to use this code:

    <?php
    $page_num = $paged;
    if ($pagenum='') $pagenum =1;
    query_posts('showpost9=7&paged='.$page_num); ?>
                   	<?php if (have_posts()) : ?>
    		<?php while (have_posts()) : the_post(); ?>
                    // WordPress loop
                    endwhile;endif; ?>

    but I’m already using query_posts because i need to exclude a category posts from Frontpage.

    Anyway doesn’t work.

    Thread Starter 9overflow

    (@9overflow)

    This is my code:

    <?php
    $page_num = $paged;
    if ($pagenum='') $pagenum =1;
    query_posts('showpost9=7&paged='.$page_num); ?>
                   	<?php if (have_posts()) : ?>
    		<?php while (have_posts()) : the_post(); ?>
                    // WordPress loop
                    endwhile;endif; ?>
    <?php query_posts($query_string . '&cat=-90');?>
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Number of Posts in Homepaeg’ is closed to new replies.