• Resolved badabingbreda

    (@badabingbreda)


    I’ve created a CPT called ‘release’ (as in album release) and a taxonomy called ‘label’ (as in recordlabel). I’ve added ‘label’ as a taxonomy for ‘release’ and set ‘show in admin menu’ to true. Whenever I create a CPT and assign a term for ‘label’ it shows up as expected when viewing it in the admin menu.

    However, I have almost 2000 records that I import from Spotify, they all display but when I click on a labelname I get the message ‘No releases found’. What am I missing?

    in the Category overview displayed under ‘Releases’ they are shown with the correct Count. Clicking here results in ‘No releases found’ too.

    The page I need help with: [log in to see the link]

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

    (@tw2113)

    The BenchPresser

    are you dealing with the default “category” taxonomy term archive? or the “label” taxonomy term archive?

    If it’s the default “category, then following this tutorial would help https://docs.pluginize.com/article/17-post-types-in-category-tag-archives

    I just created a “genre” taxonomy for a “movie” post type in my local development and created a post with a genre. The genre archive is showing the created post right away. If this is similar to your situation, then something else may be going on that I’m not able to see.

    Thread Starter badabingbreda

    (@badabingbreda)

    Thanks Michael, I did as you did, created the same things but this time on a vanilla install. It worked! as expected and per my settings. But, when going forward and trying to build up to the actual dev-settings it broke again. I think I found what is going wrong:

    I didn’t think it was of significance but I also have a CPT called Label; I manually put in the Labels as posts, then the releases that belong to that recordlabel are being queried on Spotify and inserted into the database as seperate CPT’s Release with a taxonomy label which gets the same slug as the calling Label.

    So, I was able to simply migrate the taxonomy ‘label’ to ‘recordlabel’ and now it works as it should.

    Thanks for your quick reply!

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Good to hear you got things worked out, and thanks for the followup.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Filter CPT admin menu by term’ is closed to new replies.