WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have got the following simple code.

<ul id="filter"><?php       
echo '<li class="active"><a href="#" class="all">All</a></li>';             
if ( $count > 0 ) {             
    foreach ( $mylinks as $mylink ) {
        echo '<li>'.'<a href="#" class="'. $mylink->slug .'" >';
        echo $mylink->name;
        echo "</a>";
        echo "</li>";

The above basically returns the following:

<ul class="filter">
<li class="active">
    <a class="all" href="#">All</a>
    <a class="education" href="#">Education</a>
<!-- Etc. --></ul>

What I want is to have the taxonomy terms, (i.e. say taxonomy Education to link to an independent page: http://website.com/education and on that page have all the custom post types with the taxonomy 'education' displayed on the page.

PS: Displaying the taxonomy terms is not a problem, the problem is linking the displayed taxonomy terms (in the code above) to an independent page (http://website.com/independent_page). This must happen all dynamically.

Is it possible? Please share your suggestions or links to tutorials.

One more question. What is the exact custom taxonomy URL? Is it http://website.com/taxonomy/education ?

share|improve this question

If I understood this correct, then you need a taxonomy.php file.


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.