Using checkboxes for assing taxonomies in frontend form (1 post)

  1. Diana K. Cury
    Expert e diva
    Posted 4 years ago #

    Hi there,

    This 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:

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic