Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Not directly one of our plugins, assuming you’re referring to https://github.com/jawittdesigns/CMB2-Field-Type-Select2

    I guess the biggest question is which part specifically are you struggling with? Populating a list of taxonomy terms for the field?

    Any currently used code to try and solve things would help as well.

    Thread Starter dmarzean

    (@dmarzean)

    Populating a list of taxonomy is exactly my problem…

    Thread Starter dmarzean

    (@dmarzean)

    It’s funny how I purchased a theme and use plugins due to the fact that I am not a WP developer and I am getting quite the developer education…

    Your plugin is pretty damn amazing. I have been so sidetracked just trying to figure out everything I can do with it, I am about a week behind on getting site completed.

    I noticed Pods 3 was going to integrate but not any longer. Is there much that Pods accomplishes that CMB2 doesn’t?

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Constructing a WordPress website has always been a mix of both plugins and a theme. My take, as well as many others’ takes, are that if you need something to be present regardless of theme, make it a plugin.

    I would recommend creating a function that returns an array of taxonomy terms for the options.

    'options' => array(
        'standard' => __( 'Option One', 'cmb2' ),
        'custom'   => __( 'Option Two', 'cmb2' ),
        'none'     => __( 'Option Three', 'cmb2' ),
    ),

    I’d recommend perhaps the term slug on the left side of this, and one of the labels for the “Option One” stuff.

    Just some thoughts.

    Thread Starter dmarzean

    (@dmarzean)

    Went a different and much simpler route for this. I used the following to accomplish.

    https://silviomoreto.github.io/bootstrap-select/

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Whatever works. 😀

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Select2 for Taxonomy Select field’ is closed to new replies.