Commit Graph

15 Commits

Author SHA1 Message Date
IanDelMar 628601415b No period for summary in file headers
According to WP's PHP documentation standards on file headers. See https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#6-file-headers.
2019-11-14 18:16:31 +01:00
Gary Kealy afca2ffb56 Remove closing php tags at end of files 2019-07-04 15:58:08 +01:00
Gary Kealy 600eb39883 Use shorter ABSPATH check 2019-06-20 09:57:12 +01:00
IanDelMar ee459e936b Fix indentation & space usage 2018-11-19 00:37:12 +01:00
IanDelMar 45c9d1adb7 Prevent direct access 2018-09-10 23:59:04 +02:00
William Patton efabf58b1d Swap array shorthand `[]` in wp_parse_args call to `array()` 2018-07-13 00:10:59 +01:00
William Patton ddd8bacca8 Swap shorthand array `[]` to `array()` in pagination function definition 2018-07-12 20:07:38 +01:00
Johan Nielsen f8dd00d1c4
Update pagination.php
1. Dynamic prev and next
1. Improved active class
1. Improved ellipsis
2018-05-11 21:28:07 +02:00
Johan Nielsen e59538ad22
dynamic prev_next
I've noticed that with the current implementation, next arrow is still shown if there are no more pages.
By setting prev_next to true, WordPress should handle the generation of next and previous arrows. 
This also means that the code is dramatically simplified.

But please test this, because I don't remember why I didn't write the code this way in the first place.
Maybe because there was some fringe case I tried to rectify?
2018-05-05 10:09:27 +02:00
Alex Wright 8da32c1a75 Add pluggable function wrappers to inc/pagination.php; add single quotes around active class name on line 41 2018-03-30 11:21:47 -05:00
0dp 33183a3481 new pagination 2018-03-24 14:18:00 +01:00
Elliot 779c351f2d Pagination Amend 2017-05-22 12:26:07 +01:00
koenemann c01f07b4ae removing empty spaces 2017-01-27 14:26:46 +01:00
koenemann 96090bdaf5 Removing some W3C validator issues 2016-11-25 13:46:16 +01:00
Holger Könemann c5975e5f11 Move pagination component to function 2016-11-23 10:42:53 +01:00