CustomPress taxonomies not functioning with MarketPress

I created two CustomPress taxonomies, brands and occasions, for my MarketPress products. When I create a new product or try to edit an existing one, the new taxonomies show up, but they don’t function.

If the taxonomy is set up as hierarchical, the choices appear but the checkboxes are not checkable. If the taxonomy is not hierarchical, only the heading (e.g., “Brands”:wink: appears. (I actually want both of these taxonomies to be non-hierarchical, but I set the occasions taxonomy to hierarchical as a test.)

This appears to be similar to the issue discussed in this recent thread: https://wpmudev.com/forums/topic/taxonomy-doesnt-show-addremove-link-and-tags, except the custom post type involved is “product,” as created by MarketPress.

I have seen multiple recommendations on WPMU DEV to use CustomPress to add custom taxonomies for MarketPress products, so as far as I can tell, this should work.

Screenshots are attached, showing (1) that the product post type is selected for the custom taxonomy, and (2) how the custom taxonomies appear on the product entry form.

Please advise. Thanks.

Brian

[attachments are only viewable by logged-in members] [attachments are only viewable by logged-in members]

  • Brian
    • Flash Drive

    @aristath – I installed the User Role Editor plugin, but it wasn’t applicable here. I am the only user and I have administrator privileges. The User Role Editor doesn’t present any options for administrators.

    Now I’ll try Arnold’s solution.

  • Brian
    • Flash Drive

    @Arnold – I installed the version of CustomPress that you referenced, re-saved the taxonomies, and yes, it now works. Thanks!

    One quirk, though, is that there is a screenful of gibberish code (well, it’s probably not really gibberish, but it is to me) above the list of taxonomies. Partial screenshot attached. It doesn’t seem to be interfering with the functioning of the taxonomies, but it’s a little disconcerting to see it there, because it just looks like something must be wrong.

    Also, since I have a WPMU DEV subscription and I typically upgrade to the latest versions of plugins, what will be the effect of having this “custom” version of CustomPress installed? I notice that it’s the same version number as the one that I downloaded and installed earlier today. Will the next version break it?

    Thanks.

    Brian

  • Brian
    • Flash Drive

    Since my last screenshot was apparently too large, here is a smaller version to provide an idea of what I'm talking about. The "gibberish" code extends for about two full screens on my laptop.

    [attachments are only viewable by logged-in members]

  • Arnold
    • El Macho WP

    That’s apiece of debug code I forgot to remove. The problem was that CustomPress wasn’t looking at any Custom post type that wasn’t created by it. That’s what the fix was about Change will be in the next version. If you want to fix the array dump look at the top of the taxonomies.php file in ui-admin and remove the line like

    var_dump($wp_taxonomies);