This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Remove pagination in a post grid

  • Creator
  • #6901

    Hi Jason!

    I am trying to remove pagination at the bottom of my post grid. Here is the webpage I am working on:

    I don’t need links to other pages listing the posts. You might also notice that those page links do not work for some reason.

    What file should I edit to remove page links?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
  • #6908
    Jason Bobich


    You have currently selected to use a “Paginated post grid” and so the only way, within the features of the theme, would be to either use the non-paginated post grid or just make the number of posts per page (columns * rows) match the amount of total posts.

    In other words, try setting the total number of posts in the element’s option to be 6.

    You might also notice that those page links do not work for some reason.

    This is because you’ve setup your homepage with a static page. To have any paginated element in a homepage custom layout, you need to use the alternate method of applying a custom layout to your homepage. You need to go to Settings > Reading > Frontpage displays, and select “your latest posts”. Then, you’d select your homepage layout from Appearance > Theme Options > Content > Homepage.


    Thank you Jason! I’ve decided to use a non-paginated grid for right now. I just want to style it a little differently.
    One last question for you, which one of the theme files controls the layout of the post grid?


    Jason Bobich

    The theme uses a system of including these smaller template parts in order to give you one file to edit for these various circumstances. For example, where ever a post grid is used, it always pulls from content-grid.php to display each post in the post grid. So, you’d just copy this file from the Paren theme to your Child theme to edit it.

    Here’s a complete overview on this topic:

    This table will be helpful in the future for determining which template parts are used in different scenarios:

Viewing 3 replies - 1 through 3 (of 3 total)
  • The forum ‘Swagger Responsive WordPress Theme’ is closed to new topics and replies.