Support » Plugin: Custom Post Type UI » [Plugin: Custom Post Type UI] Link to custom taxonomy term archive

  • Resolved David M.


    I have set up a custom taxonomy with Custom Post Type UI.

    I want to display that taxonomy on single posts, with a link to the archive page for that term. I use this code:

    <?php the_terms( $post->ID, 'taxonomyname' ); ?>

    The link I get is: wordpress/?taxonomy=taxonomyname&term=taxonomyterm

    That link doesn’t work. I have pretty permalinks, multisite, and the correct link for that archive is: wordpress/blog/taxonomyname/taxonomyterm/.

    I have tried different combinations in Custom Post Types UI for Rewrite and Rewrite Slug, to no effect.

    What could I do? Thanks.

Viewing 1 replies (of 1 total)
  • David M.


    I just found the problem. I was getting this link:


    But the taxonomy was actually registered as “Taxonomyname”. With a capital letter.

    I changed the definition of the taxonomy, wrote its name without capital letters, flushed the pernmalink structure a couple of times, and it’s working now.

    I think that it should be advised somewhere never to use any capitals in the name field of the custom taxonomy.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Custom Post Type UI] Link to custom taxonomy term archive’ is closed to new replies.