Skip Navigation

[Resolved] Displaying list of taxonomies category (states)

This support ticket is created 6 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 3 replies, has 2 voices.

Last updated by Luo Yang 6 years, 10 months ago.

Assisted by: Luo Yang.

Author
Posts
#610004

I am using wp types to create custom post types for senior communities.

They are organized by state.

The links to each page listing all properties for each state will be listed in a sub menu under "Find A Community". When clicked, user will be taken to the page with all properties for that state. Each property being a single custom post type. I just want a thumbnail, propety name, property address, and a link that says "View property" on the views page for that taxonomy.

Under Content Selection, do i chose the post type or the taxonomy?

For the template, I just make another content template and design the layout accordingly, correct?

I want a grid view.

My taxonomies are "states". I simply need to know how to link this all together.

Many of your docs are outdated or not complete. Just need some advice here.

Thanks

#610075

Dear Derrick,

Q1) Under Content Selection, do i chose the post type or the taxonomy?
I assume you are going to list all terms of taxonomy "States", if it is, you will need to create a taxonomy view, in section "Content Selection", choose "taxonomy"-> "State"

in section "Loop Output Editor", within Views loop, display the term's archive page link
[wpv-taxonomy-url]
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-taxonomy-url

And you can customize the term's archive page with Views wordpress archive feature:
https://toolset.com/documentation/user-guides/normal-vs-archive-views/

Q2) For the template, I just make another content template and design the layout accordingly, correct?
I assume we are talking about the content template for single "Community", if it is, you are right, it needs another content template, please follow our document to setup the content template:
https://toolset.com/documentation/user-guides/editing-view-templates/setting-view-templates-for-single-pages/

#610938

Q2) For the template, I just make another content template and design the layout accordingly, correct?

For this quesiton, i am referring to the template for the views page displaying all listings for sub category of States.

For example, one view page will display all listings located in California.

So, do i have to create a separate template for each state, or do i select the state in the view edit screen and it will display all the listings for the state i selected?

Hope that is clear. Thanks

#610954

Q2) In the view's loop, you just need one content template, it will display all the listing items of the view's result, see our document:
Using a Content Template in a View loop
https://toolset.com/documentation/user-guides/using-a-view-template-in-a-view-layout/