rewdy / Pico-Pagination

Provides basic pagination for Pico.
27 stars 12 forks source link

Define multiple sub pages for pagination? #15

Open in8sworld opened 6 years ago

in8sworld commented 6 years ago

I've defined: $config['pagination_sub_page'] = true; $config['pagination_page_indicator'] = "blog"; for posts in my /blog sub-folder, but I'd like to define another subfolder /music, for example, and be able to iterate through those for pagination. Would I need to create another array ex:paged_pages_2 to accomplish this or is there another method?

Thanks for all your work on this plugin!

in8sworld commented 6 years ago

I have defined sub_page, but I don't see where that is actually used to filter the array at all?

oneseedfruit commented 6 years ago

I'm interested in this as well. Looks like we can't have more than 1 sub-folder with 2 separate paginations.

ghost commented 3 years ago

I have defined sub_page, but I don't see where that is actually used to filter the array at all?

same for me