• Resolved megatroenchen

    (@megatroenchen)


    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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    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

    (@megatroenchen)

    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

    (@tw2113)

    The BenchPresser

    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

    (@megatroenchen)

    Sorry, I have expressed myself wrong. I meant the attachments

    Here is the screenshot:
    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

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    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

    (@megatroenchen)

    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

    (@tw2113)

    The BenchPresser

    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.