Permalink
Browse files

Add dynamic neighbour amount back.

  • Loading branch information...
villesiltala committed Mar 15, 2018
1 parent 8020a2d commit b19a027aa990a85d8036cdf97cead77c7cc50397
Showing with 2 additions and 2 deletions.
  1. +2 −2 helpers/pagination.php
@@ -34,8 +34,8 @@ public function output() {
$params = $this->params;
$data = (object) [];
$pages = array();
$visible = 7;
$neighbours = 3;
$neighbours = isset( $params->neighbours ) ? (int) $params->neighbours : 3;
$visible = 1 + ( 2 * $neighbours );
$hellip_start = true;
$hellip_end = true;
$strings = isset( $params->strings ) ? $params->strings : [];

0 comments on commit b19a027

Please sign in to comment.