Display Parent Taxonomy Name in template

[ad_1]

Hello! I need to display through a template the parent taxonomy term name of a taxonomy term. It is, of course, a custom Pods Taxonomy, named “corpus_externo”, but I am only able to display its ID. I want the parent term to be the displayed text and the child term to be the URL underneath. Every parent term will have several different children with different URLs.

My code is:

[each corpus_externo]
<a href="https://projectdmc.org/support/topic/display-parent-taxonomy-name-in-template/{@name}">{@corpus_externo.parent}</a>
[/each]	

What I am doing wrong? I got just ID numbers instead of the name of the parent. The link, however, works perfectly.

Thanks for any help!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer