Can pages section be filtered by field values?


#1

Hello.

I’m trying to create some blueprints for my site and found that I can filter Pages Section only by parent and status. Can it be filtered by field values like

query: site.find("section").filterBy("section_type","section_type_1")

?

Thank you.


#2

No, there is no query option for pages sections. If you only need a filtered section without any options to add new pages, you can use this plugin: https://github.com/rasteiner/k3-pagesdisplay-section