Display Primary Category using Yoast’s Make Primary feature

Using Yoast’s Make Primary Category Term feature, you can use it for Categories or Custom Taxonomies in your template files.