1

How can I create a view of taxonomy terms for a content type (Story and Page) and display it to a block with parent and child relationship?

What I want is to take a "Taxonomy Term" based on "Content Types".

Example:

Fruits (5)
  - Apple (3)
  - Banana (2)
Vegetables (4)
  - Beans (1)
  - Eggplant (2)
  - Onions (1)

Demo: http://worldstogethertravel.com

Menu on right sidebar: (Of Cultural Interest)

This menu is created using taxonomy_menu module not VIEWS.

1 Answer 1

0

You can try using Views Tree module..

Project page says

Views Tree module provides a tree-based style plugin for Views. It is equivalent to the tree-based style template from Views 1.

It is based off of the list style. Although it generates a nested view, there is still only a single query run for the view making it quite performant.

For node count, you can implement same using views.. Check this post Views and node count for taxonomy terms..

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.