Increase number of Blog Posts on Front Page

Discussion in 'BlackBird WordPress Theme' started by bwdaugherty, Feb 27, 2015.

  1. bwdaugherty

    bwdaugherty Member

    Joined:
    Nov 26, 2012
    Messages:
    118
    Likes Received:
    0
    I would like to increase the number of blog posts on the front page from 5 to 10. Is there an easy way to do this to have 2 rows instead of 1? thanks
     
  2. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello bwdaugherty!

    You can increase the number of blog posts on front page from 5 to 10.
    Please follow below steps:

    Step 1:
    Code:
     if (($iNumberOfPics > 0) && ($count < 10)) {
                if($count%5==0)
                {
                  echo"<div class='clear'><br/></div>";
                  }
    Follow below image and add given code in front-page.php
    blackbird-28-feb-15-post.png

    Step 2:
    Paste the code given below in Custom CSS section
    (Appearance -> Theme Options -> Styling Options -> Custom CSS) of your dashboard.
    Code:
    .feature-post .feature-box {
      width: 175px;
    }
     
    
    Thanks & Regards
    Pramod Patel
     

Share This Page