Using checkboxes for assing taxonomies in frontend form
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.
- The topic ‘Using checkboxes for assing taxonomies in frontend form’ is closed to new replies.