Tell us what you are trying to do?
I want to display child taxonomies (with links or not) byt with one condition
My taxonomy looks like this:
Świętokrzyskie (parent)
- Kielce (child)
- Ostrowiec (child)
On parent i want to display:
Cities in świetokrzyskie: Kielce, Ostrowiec, .....
On child i want to display:
Other Cities in Świętokrzyskie (automatically should be taken name of parent) : Kielce, Ostrowiec ...
Is there any documentation that you are following?
I havent seen one
Is there a similar example that we can see?
What is the link to your site?
hidden link
I think you need this Document:
https://toolset.com/documentation/user-guides/using-a-child-view-in-a-taxonomy-view-layout/
1. Create a View of Taxonomies and choose to display just the parent Terms (Parent is: none)
2. Create another View and choose to display child terms (Parent is the taxonomy selected by the parent Taxonomy View)
3. Complete the Loop of this second View, so it outputs the names of the Terms
4. Insert the second View to the First View's Loop and complete that loop so it displays the parent term name too.
It looks like this after in the parent View's loop:
<wpv-loop>
THE PARENT ITEM ([wpv-taxonomy-title]) HAS THESE CHILD ITEMS:
[wpv-view name="the-view-with-child-terms"]
<br>
</wpv-loop>
5. If you now insert the First View to a page, you will see a list like this:
THE PARENT ITEM (Uncategorized) HAS THESE CHILD ITEMS:
No items found (in case there are no child terms)
THE PARENT ITEM (parent) HAS THESE CHILD ITEMS:
child (the child terms)
THE PARENT ITEM (another parent) HAS THESE CHILD ITEMS:
and one more child (more child of another parent)
This principle can be used to populate any content depending on a parent view (or even page, if you want to have this on single post types, where the single post determines the current parent term)