Title: Taxonomy assignment incorrect
Last modified: June 27, 2021

---

# Taxonomy assignment incorrect

 *  Resolved [megatroenchen](https://wordpress.org/support/users/megatroenchen/)
 * (@megatroenchen)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/taxonomy-assignment-incorrect/)
 * I have created a custom taxonomy for media and also assigned media, but when 
   I look at the taxonomy page in the backend it always says there are “0” records
   assigned under number in the table. And when I want to look at the taxonomy archive,
   no records are found either.
 * There is no link to the website, it is a local test installation.
 * [https://abload.de/img/cpt_bugi9jfz.png](https://abload.de/img/cpt_bugi9jfz.png)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [4 years, 10 months ago](https://wordpress.org/support/topic/taxonomy-assignment-incorrect/#post-14603868)
 * Not really sure what to suggest here, to be honest, as while the taxonomy creation
   may be being done via CPTUI, all the actual content creation is just using standard
   WordPress workflow and I can’t verify any details around what’s been created 
   there or assigned in those areas.
 *  Thread Starter [megatroenchen](https://wordpress.org/support/users/megatroenchen/)
 * (@megatroenchen)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/taxonomy-assignment-incorrect/#post-14604191)
 * I create a new taxonomy via the plugin. I assign my posts/media to the newly 
   created taxonomy – but that in the created taxonomy then no post is linked, is
   not matter of the plugin? Somehow this doesn’t really make sense – what is the
   plugin for then, if the posts are not linked, although they should be? Or do 
   I understand this wrong?
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [4 years, 10 months ago](https://wordpress.org/support/topic/taxonomy-assignment-incorrect/#post-14604470)
 * Our plugin handles the registration of the post types and taxonomies, but it 
   does not handle the content created. It lets WordPress core handle the rest as
   it’s designed to do.
 * Also note that the WordPress media library is fairly special, and not necessarily
   easy to just suddenly add new taxonomies to. I’m not sure yet if “media” here
   is the core media library, or a different post type you’ve created. If the post
   type chosen is “attachment” then it would be the core media library post type.
   If it’s something like “media” then it will likely be something else.
 * Can you take a screenshot of your “Registered Types and Taxes” menu item and 
   upload for me to review?
 *  Thread Starter [megatroenchen](https://wordpress.org/support/users/megatroenchen/)
 * (@megatroenchen)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/taxonomy-assignment-incorrect/#post-14604553)
 * Sorry, I have expressed myself wrong. I meant the attachments
 * Here is the screenshot:
    [https://abload.de/img/cpt_reg_taxfskwe.png](https://abload.de/img/cpt_reg_taxfskwe.png)
 * And here in the detail of the attachment the assignment of the tag:
    [https://abload.de/img/cpt_attachment_detailf0kwy.png](https://abload.de/img/cpt_attachment_detailf0kwy.png)
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [4 years, 10 months ago](https://wordpress.org/support/topic/taxonomy-assignment-incorrect/#post-14604929)
 * Thanks.
 * Nothing looking out of sorts, other than the attachment/media library part which
   I’ve never done much with.
 * That said, I set up a variation of this in my local install, and while that number
   isn’t necessarily updating right away, I believe it has some caching on it, when
   i click the number, it lead me to a list of media items that have the associated
   term with it.
 * For example, when you visit /wp-admin/upload.php?land=deutschland&post_type=attachment
 *  Thread Starter [megatroenchen](https://wordpress.org/support/users/megatroenchen/)
 * (@megatroenchen)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/taxonomy-assignment-incorrect/#post-14618915)
 * So everything is correct and that means I still have to find a way to create 
   an archive page for the “Attachment” type and output all assigned data because
   the plugin does not have this function?
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [4 years, 10 months ago](https://wordpress.org/support/topic/taxonomy-assignment-incorrect/#post-14623482)
 * Correct, we don’t have any settings available that will do setup on the front
   end.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Taxonomy assignment incorrect’ is closed to new replies.

 * ![](https://ps.w.org/custom-post-type-ui/assets/icon-256x256.png?rev=2744389)
 * [Custom Post Type UI](https://wordpress.org/plugins/custom-post-type-ui/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-post-type-ui/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-post-type-ui/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-post-type-ui/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-post-type-ui/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-post-type-ui/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/taxonomy-assignment-incorrect/#post-14623482)
 * Status: resolved