[resolved] [Plugin: CPT-onomies] Use top level / parent pages only (Hide child pages) (5 posts)

  1. tictok
    Posted 2 years ago #

    Hiya - loving this plugin so far. I think it has the potential to really simplify what has quickly become a maze of interconnecting taxonomies and post-types within my site!

    I have a question I hope someone can solve.

    Is it possible to use only the top-level or parent pages of a CPT as items within the CPT-onomy taxonomy?

    In my scenario, I have a CPT called <branch>. (In this example branches are regional offices of an organisation).

    Each <branch> post has 2 (or more) child posts (news and case studies etc), which are all part of the same CPT.

    >Case studies

    >Case studies

    >Case studies

    There are currnetly approx 20 branches.

    I've created a new CPT-onomy tax using the <branch> CPT.
    However when I view the new CPT-onomy on a post edit page I'm presented with the full heirarchy of the CPT-onomy (I guess as you'd expect).

    I'd like to find a way to using only the top level pages of the <branch> CPT in the CPT-onomy and ignore or hide all of the repetitive 'News' and 'Case Studies' terms from the CPT-onomy.

    Is it possible? Does the above make any sense?

    I'd be really grateful for any help. Many thanks!

  2. Rachel Carden
    Posted 2 years ago #


    Hi! I'm glad you're loving CPT-onomies. Currently, there is not a way to do this BUT there will be in the next version.

    I have added a filter that will allow you to remove terms from the "edit page" results. I will add something that will help you test if the term is a parent or not.


  3. tictok
    Posted 2 years ago #

    Hi Rachel
    wow - Super speed reply. Thanks :)
    That's really great news that it's going to be included in the future.

    This is the kind of question I guess every dev really doesn't want to hear, so feel free to tell me to get lost, but do you have a loose ETA / guesstimate when your next release might be?

    Wondering if I should look for alternate ways to complete my goals in the meantime or whether I should hang on for a month or two? (I'm really hoping the latter! ;o)

  4. Rachel Carden
    Posted 2 years ago #

    I'm hoping for next week sometime. It's gonna be a small update. Just want to get a few things out there so I can then focus on some big stuff.

  5. tictok
    Posted 2 years ago #

    I won't hold you to it, but want to say thanks in advance. :)
    I'll mark this resolved for now.

Topic Closed

This topic has been closed to new replies.

About this Topic