I have a set of subpages. I am attempting to use $pagination to display the current page number of the total page number, of a list of visible subpages. I want to show the current page number of the active subpage (the subpage the use is currently on).
This bit is correctly showing the total number of siblings, but each page displays the starting index (1), rather than the current index. Am I approaching this the wrong way?
Does it output the correct page? Otherwise the problem could be that the pagination doesn’t get the current page ID from the URL param in the first place.