Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #210548

    Hello,
    I would like to increase the number of posts (x6) in the others page except frontpage. It’s possible ?
    In the frontpage, I chose 4 bigs and 2 smalls but I want 8 posts in the other pages.
    Thank you for lighting !
    Bigi

    #210561

    Hey bg08ard!

    Create a new file on the theme folder then name it template_blog.php. Add this code on the file: http://pastebin.com/Mac65vC9

    Create a page then look for Page Attributes > Template > select the “Blog Page”. If you want to increase the number of articles on the new template, edit the template_blog.php file then find this code on line 100:

    $additional_loop = new WP_Query("cat=".$negative_cats."&paged=$paged&posts_per_page=8");

    Replace the posts_per_page value.

    Regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.