Support » Plugins and Hacks » Almost there – Checkboxes for taxonomy in frontend form?

  • Hi there,

    This cool site has a tip that let us add a form in a page template, but I need to allow users to set another taxonomy through checkboxes (multiple).

    By default, we set a category (or taxo), so if you want to add another dropdown, we have to add another set_term instance i.e:
    wp_set_post_terms($pid,array($_POST['job_states']),’jobplace’,true);

    And then get terms and echo every item (can’t remember the code right now, I will post here later ok.) The select field id must be then ‘job_states’. And works magically! The taxo adds up to the post.

    Now I need help on this:
    How to use checboxes for another taxo I have? I use almost the same code for get terms and echo the itens, the renderized code is looking ok, but is not adding. I just don´t know how to use checkboxes on this.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Almost there – Checkboxes for taxonomy in frontend form?’ is closed to new replies.