• Still trying to limit the number and type of posts which appear on the front page.
    I tried setting posts to “archived” but these still appear but with “archived” as part of the header.
    What in Engima theme determines which posts appear on the front page? Category? Date? Type? or what else?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    bobjgarrett

    first create child theme using given link after creating child theme copy file home-blog.php from main theme folder and paste in child theme folder now open file home-blog.php of child theme folder

    go to line number 18 see code of blocks
    $args = array( 'post_type' => 'post','posts_per_page' => $posts_count ,'ignore_sticky_posts' => 1);

    replace it with following code

    $args = array( 'post_type' => 'post','posts_per_page' =>5,'ignore_sticky_posts' => 1,'category_name' =>'category_slug_name');

    now change number 5 as your require number. and set category_slug in category_name it will limit the post

    Thread Starter bobjgarrett

    (@bobjgarrett)

    Great.
    Thank you.

    Hello,

    Your most welcome bob.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Archived Posts’ is closed to new replies.