It does show then show a custom tax term. I would like to show also the term of my second custom Tax "Type_of_activities". How can i loop on both custom taxonomies ?
And it is working. It is conflicting with Premium version though.
The 2nd problem was that I did not understand that
{% for term in activite_filter %} <div class="{{term.slug}}">{{term.name|raw}}</div> {% endfor %
Was using only a term that users give in front end.Now i understood and I have create "Menus Widgets" and "Contect Widgets" to fine tune my filters. Works perfectly :)
Hello,
I would like to retrieve custom Taxonomies.
In my custom Elementor widget, i do use this loop.
{% for terms in public %}
<span class="{{terms.slug}}">{{terms.name|raw}}</span><span class="sep">/</span>
{% endfor %}
It does show my Categories.
How could I get a list of my custom tax "Public" terms ?
2.
In my Item HTML, i do use this loop
<div class="activite {{item.post_list.category_slug}}">
It does show then show a custom tax term.
I would like to show also the term of my second custom Tax "Type_of_activities".
How can i loop on both custom taxonomies ?
Regards
Hi,
Did you really update the plugin to fullfill my needs ?
That's Lovely !
Is this version a fork ?
Will it work if I update plugin later on ?
It does work well inside post item loop !
Thanks :)
However, If i want to generate a Menu, with selectable Terms List, this loop does not work in Widget HTML.
I want to generate this code automaticly :
` <div class="filter_public">
<div class="filter_title">Activities :</div>
<div class="filter_list">
<span class="enfants">Child</span><span class="sep"> / </span>
<span class="ados">Teens</span><span class="sep"> / </span>
<span class="ados">Adults</span><span class="sep"> / </span>
<span class="tout">All</span>
</div>`
That is SUPER cool !
And it is working. It is conflicting with Premium version though.
The 2nd problem was that I did not understand that
{% for term in activite_filter %}
<div class="{{term.slug}}">{{term.name|raw}}</div>
{% endfor %
Was using only a term that users give in front end.Now i understood and I have create "Menus Widgets" and "Contect Widgets" to fine tune my filters.
Works perfectly :)