Settings missing from the Blog options.

Howdy all,

Trying to add more than 3 blog posts to my front page. When I go to WP-Menu => Appearance => Customize => Home Blog Settings => I don't have a "enable view all post button" option. Any help would be appreciated. It's been a few years since I updated this page and have recently gotten back into it. https://jenesee.com/
Tagged:

Comments

  • Hi
    Thanks for asking query to us . 
    To show more then 3 post on the home page blog section . 

    1 Find the index-blog.php file located in your  theme directory . 

    2 Open it and find the below line of code on line no 32 . 
     
      $args = array( 'post_type' => 'post','posts_per_page' =>3,'post__not_in'=>get_option("sticky_posts"));

    3 And replace it with below line of code . 

    $args = array( 'post_type' => 'post','posts_per_page' =>9,'post__not_in'=>get_option("sticky_posts"));

    You can change post per page value as your need . 

    Thanks 
    Akhilesh


  • edited January 2018
    Ty! Worked great. 
  • Hi 
    Glade to know that its work for you ! 
    Look forward see you  again at webriti. 

    Thanks 
This discussion has been closed.