Adding Custom Taxonomy to Event Form
-
Hello,
I created a custom taxonomy but want to add it to the event form. I’ve successfully added tags, but so far have not been able to get my custom taxonomy onto the form successfully.
I saw a similar post, here, about six months ago:
But without a response.
I put something like this:
<label for="event_tags[]"><?php _e ( 'Tags:', 'events-manager'); ?></label> <select name="event_tags[]" class="em-selectize" multiple size="10"> <?php $tags = get_categories( array('taxonomy' => EM_TAXONOMY_TAG, 'hide_empty' => false ) ); foreach($tags as $tag): ?> <option value="<?= $tag->name ?>" > <?= $tag->name ?> </option> <?php endforeach; ?> </select>…on the form and the tags are working successfully. But my custom taxonomy is just called organizer. It is added to the event, recurring event, and location post types.
How can you add a custom taxonomy to the submission form?
Thanks
The topic ‘Adding Custom Taxonomy to Event Form’ is closed to new replies.