Support » Themes and Templates » Get taxonomy categories as links

  • Hello,

    this is my first complicated WordPress website that I am making. I browsed the forum for three days now and haven’t found the answer so maybe you can help me on the right track! I would be very glad!

    I registered custom taxonomies (Juston Tadlock’s tutorial) and I display these next to a post. So far all okay.

    Now I want to have specific taxonomy-tax.php pages which handle all posts from one custom taxonomy (by which I mean the larger taxonomy-group under which I have a lot of different tags).

    So my problem is that nowhere I can find a template tag that displays the taxonomy-groups as a url that links to my taxonomy-tax.php file.

    Maybe this is a basic question of how to link to somewhere in WP. But the strange this is that I can’t link to a specific taxonomy tag either. That gives me a 404 page. So… I really don’t know how to solve this.

    Any help would be appreciated.
    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Displaying the specific taxonomies is solved now! Updating the permalinks worked good for me… as the default setting for permalinks missed a slash and didn’t provide the correct url.

    Now I can access this wordpress/taxonomy/term/
    But now I want to have a specific page for each taxonomy… so I made a taxonomy-tax_name.php file… but I am not able to link to this file…
    and typing this url wordpress/taxonomy/ gives me a 404 error

    What am I doing wrong?
    Anyone?
    Thanks!

    Were you able to fix this? I have the exact same problem. Still looking for a solution but can’t find anything. If you happen to find the solution please let me know.
    Thanks

    Can’t swear to what 2.9.2 is doing but using the 3.0 beta with a taxonomy of writer it will use a template file called taxonomy-writer.php when accessing a taxonomy link generated with something like:

    echo get_the_term_list( $post->ID, 'writer', 'Writer: ', ', ', '' );

    That’s what I assumed it would do, but it gives me a 404 eror. But since wordpress 3.0 is almost coming out, I will be updating soon.
    Thanks

    Hi laurenserge,

    Do you mind to share your solution to us individual taxonomies permalink structure?

    I’m stuck at it. Look forward to hear from you again.

    Thanks,
    yeeloon

    Hi Yeeloon,

    if it is merely how to solve the 404 error when displaying a specific taxonomy than you can find the answer on this post about the same topic.

    Hope this solves it for you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Get taxonomy categories as links’ is closed to new replies.