• Resolved bward

    (@bward)


    The main reason I need this plugin is to filter the custom post type (CPT) down to the custom taxonomy. It works for that if I have “Enable conditional dropdown values:” selected which says it is a “beta” feature.

    However, without this enabled, if I used the filter an select “articles” in the live example on the link I provided. I am shown basically a broken page.

    The reason… I have no “Bible Questions” CPT with “articles” (custom taxonomy) in my demo. However, I do have a “Bible Study” CPT with “articles” (custom taxonomy).

    The filter tool sees that “Bible Study” CPT from within the “Bible Questions” CPT archive as seen here: https://worldeventsandthebible.com/bible-questions

    I thought it was not supposed to work that way?

    I just want to ensure before I make this live on our site I am not overlooking anything within my own structure.

    Thanks so much.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jonathandejong

    (@jonathandejong)

    Hi @bward

    Seems you’ve moved past this in your live link provided ??

    I’m not 100% following your setup. But it sounds to me that either you have a taxonomy setup for two different CPTs OR there are terms in a taxonomy that should not appear for a CPT?
    If it’s the latter.. are the taxonomy connected to multiple CPTs?

    Thread Starter bward

    (@bward)

    @jonathandejong I changed it up on you, sorry about that, but I certainly appreciate the response!

    I did have a third drop down on that page, but ended up combining it into the drop-down labeled “Resources”. After looking over this again, I do not see the issue anymore… I wonder if I had caused my own issue and fixed it when I combined one of the menus?

    I do have multiple custom taxonomies, so CPT 1 and CPT 2, both have Tax 1 and Tax 2 assigned to them for use, though they may not specifically be in use by a post.

    Example of the issue I did have.

    CPT 1:
    Tax-1

    CPT 2:
    Tax-1, Tax-2

    On the filter of the archive for CPT 1. I would see Tax-2 as an option, which is not valid since it was not assigned to a post with CPT 1. If I selected that (Tax 2) filter value and selected “apply filter” I would get a broken page as CPT 1 does not have Tax 2 assigned. However, if I selected “Enable conditional dropdown values” I did not have this issue. Though I still saw “Tax-2” even though CPT 1 does not have a Tax 2 value.

    It was a bit confusing from a user level perspective. Again, since I removed that third drop down menu, I do not see this anymore and it functions how I expect.

    If you cannot shed any light on that, no worries, I just do not want to have issues at a later date when we roll this out.

    Thanks so much!

    Plugin Author Jonathandejong

    (@jonathandejong)

    Ah yeah you can see some discussion going on about this here as well:
    https://www.ads-software.com/support/topic/feature-request-filter-empty-taxonomy-per-custom-post-type/#post-10189235

    The problem is that wp_dropdown_categories which BTFs dropdowns are based on does not handle multiple taxonomies connected to multiple CPTs too well. So in short: to avoid any issues dont use the same taxonomies for multiple CPTs. at least for now.

    Thread Starter bward

    (@bward)

    I see. For our setup we have to share the custom taxonomy with our CPTs, at least most of them. Good to know I was not losing my mind! If you can swing an update at some point I’m sure many would appreciate an already great plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Impressive Plugin, One Question’ is closed to new replies.