php - Get Taxonomy Permalink with ACF object ID -
Well, I do have, I would resound to Prmank a custom taxonomy collection page on the WP. I can get the object ID but I can not find any way to get that ID taxemanie permank.
This is an example of my code:
& lt ;? Php get_field ('services_1', $ id); // This is 22 which gives Id classification / I tried to save it to a variable: $ term = get_field ( 'services_1', $ id); Echo get_term_link ($ word, 'type-of-services'); ? & Gt; ? & Gt;
It was not working and I leave trying, any help would be greatly appreciated.
use
$ args = array ( 'taxonomy' = & Gt; 'your_taxonomy', 'title_li' = & gt; "," orderby '= & gt;' name ',' parent '=> gt; & Lt; Ul & gt; Wp_list_categories ($ args); & Lt; / Ul & gt;
Comments
Post a Comment