PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Category Hell

  1. I've searched the forums and am afraid that there is no solution for my problem but I figured I'd ask and see if anyone figured it out. We're using gravity forms to let users add new posts to the system and choose what category it should go in.

    Unfortunately the Category field under Post Fields will not display parent - child relationships so because of this limitation, we then decided to use the Custom Fields Gravity Forms plugin to achieve this. It inserts categories in a drop down menu by checking "Populate with a Taxonomy". It works great and keeps the hierarchy like it should.

    But now my huge dilemma is that I'm also using the Title and Body Post Fields and in a setting in those is also adding a Category to each post because we're not using the "official" Category from Post Fields.

    So my question is how in the heck can I get this to work correctly? I don't want to go hacking together code in all of our templates to just exclude some random category to get around this issue, so how can we get GF to ignore the category altogether but still use the Title and Body Post Fields?

    Thanks,
    dan

    Posted 8 years ago on Saturday January 5, 2013 | Permalink
  2. OK, so I found a weird hack that has worked but if there is a more ideal and clean way to do this I'd appreciate letting me know. ;)

    SOLUTION:
    Add a Post Category from the Post Fields. Make it Admin Only. And Make it checkboxes. Then simply don't use it. It won't add any unwanted categories and it will never be visible on the front end.

    Posted 8 years ago on Saturday January 5, 2013 | Permalink
  3. That's not a bad work around for your application. Thank you for posting your solution.

    Posted 8 years ago on Sunday January 6, 2013 | Permalink
  4. Sure, but really we shouldn't be doing work arounds like that - heirarchical parent - child taxonomies should be able to show up in a drop down menu.

    Posted 8 years ago on Sunday January 6, 2013 | Permalink
  5. Point taken. I'll tag this as a feature request so we don't forget about it.

    Posted 8 years ago on Monday January 7, 2013 | Permalink

This topic has been resolved and has been closed to new replies.