WordPress.org

Ready to get started?Download WordPress

Forums

Gravity Forms + Custom Post Types
Can't get checkboxes to populate with taxonomy (3 posts)

  1. Seth Stevenson
    Member
    Posted 3 years ago #

    I'm using the plugin "More taxonomies" to create custom taxonomies for my custom post type. I would like to be able to populate checkboxes with those taxonomies but when I add a checkbox field and go to Adv -> "Populate with a Taxonomy" my custom taxonomy doesn't show up.

    Any advice?

  2. bradvin
    Member
    Plugin Author

    Posted 3 years ago #

    Hi Seth,

    I have installed 'More Taxonomies' and tested this and you are right. The custom taxomonies do not show up. I delved a little deeper and realised that the custom taxonomies created by 'More Taxonomies' does not allow for the 'public' argument when creating custom taxonomies (there is no option for it in the advanced settings). I am not sure why, but my plugin loads the dropdown where 'public' = true and '_builtin' = false. If you remove the 'public' => true then it shows the taxonomy.

    I assume this might confuse some people in future, so I will remove the restriction of only showing public taxonomies from the next release. In the meantime, you can edit the file 'gfcptaddon_1-5.php' or replace it with this code http://pastie.org/1734034

    I hope this helps

    cheers
    Brad

  3. Seth Stevenson
    Member
    Posted 3 years ago #

    Thanks for the quick response! That code worked perfectly for me.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic