Skip Navigation

[Resolved] CPT Hierarchy & URL structure

This support ticket is created 5 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Author
Posts
#1228748

Tell us what you are trying to do?

I have created CPT PRACTICE AREAS & LAWYERS and have post relationships MANY TO MANY. I have LOCATION (US, UK) as a taxonomy of LAWYER and LAWYER is the parent of PRACTICE AREAS. i also want to have children or a relationship of PRACTICE AREAS i.e People US, People UK, Success Stories etc as each PRACTICE AREA will have each of these. I am unclear how to execute this and achieve a URL structure PRACTICE AREA -> People us, People UK, Success stories etc. That will have its own CHILD PAGE/POST/URL Success stories is a custom field within PRACTICE AREAS.

To be clear i want to acheive the following URL Structure:
PRACTICE AREAS
> Corporate
>> People US
>>People UK
>> Sucess Stories

Is there any documentation that you are following?
I looked on support forums and could not find a solution.

Is there a similar example that we can see?
hidden link

What is the link to your site?
I am working on localhost at the moment

#1228754

Toolset's custom post URL structures work within WordPress standards, so complex hierarchical URLs aren't supported. The standard for custom post types is /post-type-slug/post-slug. To achieve the exact URL structure you're describing, you'll have to use a 3rd-party custom permalink plugin or implement some custom code.

#1228804

Its a shame it seems to me this is a typical scenario for most custom post types. Unless i have it set up incorrectly.

Thanks