WordPress.org

Ready to get started?Download WordPress

Forums

Get taxonomy categories as links (7 posts)

  1. lola rennt
    Member
    Posted 4 years ago #

    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!

  2. lola rennt
    Member
    Posted 4 years ago #

    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!

  3. magaworks
    Member
    Posted 3 years ago #

    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

  4. MichaelH
    Member
    Posted 3 years ago #

    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: ', ', ', '' );
  5. magaworks
    Member
    Posted 3 years ago #

    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

  6. yeeloon
    Member
    Posted 3 years ago #

    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

  7. lola rennt
    Member
    Posted 3 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic