Show All Departments

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29536
    Sor ConSor con
    Participant

    How Can i display all Departments in “Departments Page” instead of pagination?

    thanks in advance

    #29546
    VeenaVeena
    Moderator

    For that you have to make a slight change in theme file loop-department.php .
    Change line no:48 from

     'posts_per_page' => 8,
    

    to

     'posts_per_page' => -1,
    

    To preserve these change from future theme updates pls make the required modification in your child theme.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Invent Theme Support’ is closed to new topics and replies.