Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Maximilian Ruthe

    (@maximilian-ruthe)

    Hi Enereuwa,
    this is now possible with version 1.1.

    1. To select a taxonomy term in the select dropdown, you can use the “selected” parameter:
    [select name="tax_input" taxonomy="city" selected=7]

    2. If you want a submission to be assigned to one or more categories or any taxonomy terms the post type has, you can do the following:
    [text name="tax_input" taxonomy="*taxonomy-name-here*" value=*term-ID-here*]
    Example:
    [text name="tax_input" taxonomy="category" value=11]

    You can do that multiple times per term ID you’d like to add. The last example would output (and you could even use the html input instead of the shortcode):
    <input type="hidden" name="tax_input[category][]" value="11" />

    Hope that works –
    Thank you for the post.

    Thread Starter emereuwa

    (@emereuwa)

    Hello Maximilian,

    The version available for download or upgrade on wordpress.org is still the 1.0.9, You mentioned Version 1.1.
    How do we get that or will the code work in the 1.0.9 version too?

    I am in the process of testing it out on the 1.0.9 right now.

    Plugin Author Maximilian Ruthe

    (@maximilian-ruthe)

    Yeah I got tangled up trying to update this – 1.1.0 should be good to go now. Please let me know if issues come up –

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to Set default Category’ is closed to new replies.