Skip Navigation

[Resolved] I need to this with toolset.

This support ticket is created 5 years, 11 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 5 replies, has 2 voices.

Last updated by Luo Yang 5 years, 11 months ago.

Assisted by: Luo Yang.

Author
Posts
#1172916

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

#1172921

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.

#1172922

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

#1172925

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/

#1172928

Thank you!

#1172930
hidden-links.JPG

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