Hello!
To begin with, I would like to refer to the following 2 tickets that I created last year:
-https://toolset.com/forums/topic/displaying-brother-pages-dont-work/
-https://toolset.com/forums/topic/how-to-show-sibling-pages/
I may have given too little information there for you to be able to point to a solution, so I will now give a little more.
I am creating a website for a client with a very complex structure that I am unable to create in Toolset using the standard CPT creation function.
/ *********************************************************************************** /
The structure is as follow:
-Electrical Services-Electrician (subpage website.com/d/electrician/)
--Division by district (no subpage for this division)
----Elektryk - Bielany (subpage of website.com/l/electrician-bielany/)
----Elektryk - Ursynów (...)
----Electrician - Praga South (...)
...
--Division by electrician services (no subpage for this division)
----Electrical measurements (subpage website.com/u/electricial-measurements/)
----Electrical inspections (...)
----Electrical inspections (...)
...
-Plumbing services - Plumber (subpage website.com/d/plumber/)
--Division by district (no subpage for this division)
----Hydraulic Services - Bielany (subpage website.com/l/plumber-bielany/)
----Hydraulic - Ursynów (...)
----Hydraulic - Praga South (...)
...
--Division by plumber services (no subpage for this division)
----Repair and installation of faucet (subpage website.com/u/repair-of-faucet/)
----Repair and installation of sink faucet (...)
----Repair and installation of shower faucet (...).
...
-Small home repairs (subpage website.com/d/minor-home-repairs/)
----Repairing radiators (subpage website.com/u/venting-radiators/)
----Repairs and installation of radiators (...)
...
-Turnkey interior finishes (subpage website.com/d/turnkey-interior-finishes/)
----House finishes Warsaw (subpage website.com/u/house-finishes-warsaw/)
----Turnkey apartment finishes Warsaw (...)
----Finishings of apartments Warsaw (...)
...
-Dimensional furniture (subpage website.com/d/dimensional-furniture/)
--Division of furniture by type (no subpage for this division).
---Closets (subpage website.com/m/closets/)
----Corner cabinets (sub-site website.com/p/corner-cabinets/)
----Sliding closets with mirror (...)
----Sliding cabinets (...)
...
---Bookcases (subpage website.com/m/bookcases/)
----Bookcases for living room (subpage website.com/p/bookcases-for-living-room/)
----Bookcases-for-living-room (...)
...
--Division of furniture by room (no subpage for this division)
---Kitchen (subpage website.com/m/kitchen/)
----Kitchen countertops (subpage website.com/p/kitchen-countertops/)
----Fronts for kitchen cabinets (...)
----Kitchen drawers (...)
...
---Dining room (subpage website.com/m/dining-room/)
----Dining room tables (subpage website.com/p/dining-room-tables/)
----Dining room chairs (...)
...
/ *********************************************************************************** /
This structure was set by the SEO agency and we must stick to it. From what I understand:
-subpages /d/ stand for departments/categories,
-subpages /l/ stand for locations (landing pages),
-subpages /u/ stand for services (landing pages),
-subpages /m/ stand for subcategories of furniture/rooms,
-subpages /p/ stand for furniture products (landing pages).
The problem arises with linking all this using Toolset, because:
1) All of the above subpages will contain content that will be targeted to specific keywords (including category and subcategory subpages); these will not be typical archive pages.
2) The main categories have a division (e.g., electrician has a division by neighborhood and service, plumber has a division by neighborhood and service, furniture has a division by type and room, ...), which is very important in terms of later displaying lists of sub-pages from a particular section. What I mean by this is that all sub-pages are to display sister pages, sub-pages from a given department and pages from other departments.
For example:
2.1) The website.com/d/electrician/ is to display:
-list of all services - /u/ - only from this category /d/electrician/,
-list of all locations - /l/ - only from this category /d/electrician/,
-list of all other categories - /d/.
2.2) On the /l/eletrician-bielany/ page is to appear:
-list of all services - /u/ - only from this category /d/electrician/,
-list of all other locations - /l/ - only from this category /d/electrician/,
2.3) The /u/electricial-measurements/ page is to display:
-list of all other services - /u/ - only from this category /d/electrician/.
2.4) On the /m/closets/ page is to appear:
-list of all products - /p/ - only from this section /m/closets/,
-list of all other subcategories - /m/ - only from this category /d/dimensional-furniture/ and division "by furniture types" (subcategories from division "by room" should not be visible).
And so on...
I assume that I am nevertheless able to make this structure in Toolset.
The questions that come to me are, how to do it? What should be a category/taxonomy and what should be a CPT? How do I create the aforementioned lists of services, products, locations that will only display services/products from a particular department/category?