I treid the each tag, but couldn’t get that to work. I’m trying to create a dropdown of ALL taxonomy terms in that taxonomy, and not just the terms related to that pod post. I’ll try again (and I was using a dropdown select form with that.)
I’m using this in a pods template and then calling the template on a page:
<div class="dropdown">
<button onclick="mydropdownFunction()" class="dropbtn">Departments</button>
<div id="myDropdown" class="dropdown-content">
[each department]<a href="{@permalink,esc_url}">{@name}</a>[/each]
</div>
</div>
In conjunction with this script: https://www.w3schools.com/howto/howto_js_dropdown.asp
Still not working yet. The function script is altered to match my form.
Oh I got it working. Did not need the each tag. Phew! I added the above to the page itself, changedvthe each to reference the pod and template. Kep the template to just the magic tags (url and name).
-
This reply was modified 9 months, 3 weeks ago by rscarter1.
-
This reply was modified 9 months, 3 weeks ago by rscarter1.
-
This reply was modified 9 months, 3 weeks ago by rscarter1.
-
This reply was modified 9 months, 3 weeks ago by rscarter1.