Skip to main content

Timeline for Targeting the first entry item

Current License: CC BY-SA 4.0

7 events
when toggle format what by license comment
Jul 27, 2018 at 19:40 comment added Mats Mikkel Rummelhoff I added an alternative approach to the answer; if you've access to the entry_prev and entry_next variables within the Twig block rendering the buttons, simply testing those values would be the most performant way to achieve your goal.
Jul 27, 2018 at 19:39 history edited Mats Mikkel Rummelhoff CC BY-SA 4.0
added 601 characters in body
Jul 27, 2018 at 19:25 history edited Mats Mikkel Rummelhoff CC BY-SA 4.0
added 25 characters in body
Jul 27, 2018 at 19:16 comment added Richard Clark I used your ids() method in the end, which enabled me to leave off padding on the first and last buttons of my project entries pagination, and then add some padding on the buttons for everything else.
Jul 27, 2018 at 19:09 vote accept Richard Clark
Jul 27, 2018 at 18:38 comment added Richard Clark Thanks for the reply Mats! Your answer worked perfectly.
Jul 27, 2018 at 17:36 history answered Mats Mikkel Rummelhoff CC BY-SA 4.0