Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter adreix

    (@adreix)

    i’m sorry i found this plugin only for wp 2.0… but i think that i found the way thanks to the excellent wordpress documentation.

    In archive.php before the Loop <?php while (have_posts()) : the_post(); ?> i have inserted two lines :

    $current category = single_cat_title(“”, false); query_posts(‘category_name=’.$current_category.’&showposts=15′); ?>

    This will set number of post for categories equal to 15 and show in home page the value inserted in the option (admin panel). Thanks to all

Viewing 1 replies (of 1 total)