Tell us what you are trying to do?
My last three questions will be resolved if you please guide me on this. This is a website I am trying to replicate.
This link shows all lawyers. So this is a CPT. I have made it with toolset.
hidden link (this shows different text on top)
This link shows lawyers in Chandigarh. Chandigarh seems to be a taxonomy (location). I have made it with toolset.
hidden link (this shows different text on top)
This link shows all lawyers in a practice area. Again this seems to be a seems to be a taxonomy (practice area). I have made it with toolset.
hidden link (this shows different text on top)
This link shows lawyers in Chandigarh with a particular type of practice area. How do I create this?
hidden link (this shows different text on top)
What is the link to your site?
my-site-url
Hello,
In your case, I suggest you try with one custom post type + 2 custom taxonomies.
For example:
- Post type "lawyers"
- Taxonomies "practice area" and "location", register both taxonomy to above post type "lawyers"
Then you will be able to get the term's archive pages, like this:
hidden link
hidden link
...
hidden link
hidden link
...
Then you can use a term "description" field to display different "Top text" for each term.
1) Edit each term of "practice area" and "location", setup different value in term "description" field
2) Create an Views wordpress archive, assigned it to taxonomy "divorce-lawyers" and "location"
https://toolset.com/documentation/user-guides/designing-archive-pages-for-custom-taxonomy/
In the "Loop Editor" display the term "description" field with shortcode [wpv-taxonomy-description
]:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-taxonomy-description
For your reference.
This I already know
**
Then you will be able to get the term's archive pages, like this:
hidden link
hidden link
...
hidden link
hidden link
**
my problem is to get this
hidden link
How to get this combined url
Thanks for the details, that is not possible within Types plugin(Even with wordpress built-in taxonomies "Categories" and "Tags"), it needs combined two term's slug from two different taxonomies "divorce-lawyers" and "location".
You might consider custom PHP codes to customize the rewrite rules, for example:
https://codex.wordpress.org/Rewrite_API/add_rewrite_rule
As a workaround, you can create some wordpress page with Hierarchical structure, for example:
- consumer-court-lawyers page
--- consumer-court-lawyers in chandigarh page
--- consumer-court-lawyers in other place
...
In each page, setup a normal post view, with different filters.
For example, in page "consumer-court-lawyers in chandigarh page", create a normal post view:
- query "lawyers" posts
- filter by
1) taxonomy "practice area" = "consumer-court-lawyers"
2) taxonomy "location" = "chandigarh"
More help:
https://toolset.com/documentation/user-guides/filtering-views-by-taxonomy/
As your request, I have replaces all URLs with "my-site-url", other users, visitor or search engine will not be able to see the links, they can only see a text "hidden link", see screenshot: hidden-links.JPG