wordpress get permalink taxonomy id

40

<?php
if(count($related)) {
    echo "<div>Read More<ul>";
    foreach($related as $id) {
        echo '<li><a href="'.get_permalink( $id ).'">'.get_the_title( $id ).'</a></li>';
    }
    echo "</ul></div>";
  }
?>
$term_link = get_term_link( $term->term_id, "hardware_categories" );

Comments

Submit
0 Comments