Home Forums Plugin Support WP User Frontend Pro Saving as draft creates new taxonomy instead of using taxonony namefrom dropdown

This topic is: not resolved

This topic contains 5 replies, has 3 voices, and was last updated by  Sekander Badsha 4 years, 7 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #27825

    Kurtis
    Member
    Post count: 2

    Hey Guys,

    I have a form with a dropdown that shows a list of taxonomies

    Culinary
    Photography
    Painting
    Writing
    Cooking
    etc

    When a user fills out my form and and hits submit the taxonomy chosen from the dropdown works perfeclty. However when a user selects ‘Save as Draft' the taxonomy name isn't used, the TERM ID is (as an example term ID: 81 Name: Culinary slug: culinary-arts

    What makes it even stranger is that the site takes the term ID and creates a new taxonomy for me using the ID – SO i get a new taxonomy entry in my DB with 'Term ID 110 Name: 81 Slug: 81' which is now selectable by all users in the original drop down.

    Seems to happen for all user types, including administrators.

    cheers

    kurtis

    #27979

    Mahi
    Member
    Post count: 135

    Hello Kurtis,

    Sorry for late reply. Thank you for find out a bug. I forwarded this to dev team and will get an update after 11 October.

    #28379

    Sekander Badsha
    Member
    Post count: 2067

    Hello Kurtis,
    I have tried several times to reproduce the issue but failed. I have saved this post a draft thrice each time with different category and content using the sample form http://demo.wedevs.com/wpuf/ami-aj-onek-dukkhito/

    Nothing wrong happend any where. Please test on our demo server and confirm. You may also check for theme and plugin conflicts by disabling all other plugins except User Frontend Pro and switching to a default theme of WordPress like- Twenty Twelve and check and let me know.

    Thank you.

    #28385

    Kurtis
    Member
    Post count: 2
    This reply has been marked as private.
    #28607

    Sekander Badsha
    Member
    Post count: 2067

    Hello Kurtis,

    I have logged in your site and done some tests. Looks like you have registered the custom taxonomy from your child theme and there must have been some fault on the code.

    We do not provide support on the customization case, but I would ask @tareq if he can find the fault and give you any solution. Please have patience.

    Thank you ๐Ÿ™‚

    #28682

    Sekander Badsha
    Member
    Post count: 2067

    Okay. I asked tareq today and he said it is happening because you have not set the taxonomy to be hierarchical. That is why the issue is happening. You have to set the taxonomy to be hierarchical. To understand better, you can see this example http://codex.wordpress.org/Function_Reference/register_taxonomy#Example

    You will get an idea about what to write and where to write. Thank you ๐Ÿ™‚

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Saving as draft creates new taxonomy instead of using taxonony namefrom dropdown’ is closed to new replies.