How do you extract the url from :
$url = get_the_term_list($post->ID, 'nom-origin')
I have tried many things but i just don’t get it. The only solution i got was this but i know it’s just too messy :
$url = get_the_term_list($post->ID, 'nom-origin');//,'<h3>Job Category:</h3> ', ', ', '' );
$url_tmp1 = explode("href=\"",$url);
$url_tmp2 = explode("\" rel=\"tag\">",$url_tmp1[1]);
$url_simple = $url_tmp2[0];