I have a multilevel menu and slugs, see this topic thanks to @mvlcek for the support.
Using three Special pages:
- Province (grandparent)
- City (parent)
- Location (child)
This is the url structure /grandparent/parent/child :
../province-1/city-1/location-1
../province-1/city-1/location-2
../province-1/city-2/location-1
...
../province-2/city-1/location-1
../province-2/city-2/location-1
...
../province-x/city-x/location-x
So is it possible search/filter only the child-pages from a province-x ?
When looking in page's xml-file, it stores only the parent-page, but not the grandparent.
Plan B = adding a field province to the special page Location, but hope that it is possible show the Location pages from a province (grandparent).
Using three Special pages:
- Province (grandparent)
- City (parent)
- Location (child)
This is the url structure /grandparent/parent/child :
../province-1/city-1/location-1
../province-1/city-1/location-2
../province-1/city-2/location-1
...
../province-2/city-1/location-1
../province-2/city-2/location-1
...
../province-x/city-x/location-x
So is it possible search/filter only the child-pages from a province-x ?
When looking in page's xml-file, it stores only the parent-page, but not the grandparent.
Plan B = adding a field province to the special page Location, but hope that it is possible show the Location pages from a province (grandparent).