How do i add a child to company CPT that is served from another template
-
Currently single company url is: example.com/company/some-address. I want to add a child hierarchy called (test-material) so that the url will be: example.com/company/test-material/some-address.
Below is a more detailed explanation of what i am trying to achieve:
I want each company listed to automatically have a child that will enable me display job test materials for that company which will be served from another custom template.
For example, if a user list a company called ABC LIMITED, the single company page of course will be example.com/company/abc-limited. But i also want to automatically have another url called: example.com/company/test-material/abc-limited which will be served from another page template with my job test materials.
Please how do i achieve this?
Your response to solving problems here has been very awesome, i know you can also help me on this.
I await your reply please.
- The topic ‘How do i add a child to company CPT that is served from another template’ is closed to new replies.