Home Forums Plugin Support WP User Frontend Pro Issues with taxonomies

This topic is: not resolved

Tagged: 

This topic contains 13 replies, has 5 voices, and was last updated by  Mark 4 years, 10 months ago.

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #15858

    Emeline
    Member
    Post count: 5

    Hi,

    I have an issue with taxonomies in my submit form.
    People can choose a taxonomy in a dropdown select but unfortunately, this data is not saved in the post when the form is submitted, taxonomies are always empty.

    Here is the form : http://www.themailingbook.com/soumettre-une-newsletter

    Thanks !
    Emeline

    #15899

    DM
    Member
    Post count: 34

    I have the same issue. I use Easy Custom Post Type for taxinomy creation and none of the taxinomy data appears on published posts.
    This is a big issue as I'm working against a deadline and need a fix for this asap.

    #15927

    Mahi
    Member
    Post count: 1555

    Please provide your site url, user login and password so we can check it. Also mark your reply as Private reply to keep it safe.

    #15937

    DM
    Member
    Post count: 34

    Hi there,
    I am currently developing the site offline on my local Xampp server, so not possible to give the url.

    My taxinomies are created by ECPT http://pippinsplugins.com/easy-content-types

    My taxinomies appear as field options in WPUF form, so I can add them and they appear on the submission form on the front end, but once the user submits the posts and its published, the taxinomy values selected, only appear in the editor view in wp-admin, they do not appear on the actual published post on the front end.

    So it seems that WPUF does not support taxinomies created by ECPT. How to add support for ECPT taxinomies to WPUF?

    #15942

    Emeline
    Member
    Post count: 5
    This reply has been marked as private.
    #16239

    Emeline
    Member
    Post count: 5

    Any ideas ?

    #16246

    Tareq Hasan
    Keymaster
    Post count: 2831

    Hello Emeline, sorry for being late.

    I see you are using newsletter post type, but does it supports the taxonomies you are using? Because every taxonomies are assigned to one or more post types. If the taxonomies you are using doesn't associate with newsletter post type, it'll not be assigned.

    #16250

    Emeline
    Member
    Post count: 5

    Hello Tareq,

    Thanks for your reply.
    Taxonomies are well associated to newsletter post type.

    What is weird is that it perfectly works with a simple text input (if the user types a word, it is saved in the taxonomy list), but not with the select dropdown.

    #16252

    Tareq Hasan
    Keymaster
    Post count: 2831

    May be the taxonomy you are using is not hierarchical? That might be an issue.

    #16256

    Emeline
    Member
    Post count: 5

    The taxonomy is hierarchical.
    Have you ever encountered this issue ?

    #16259

    DM
    Member
    Post count: 34

    Sorry, I dont mean to highjack your thread, but this is a workaround which helped me today to solve my taxinomy issue, maybe it will be a solution for you as well.

    I deleted my registered taxinomies in functions php and instead added support for standard wordpress categories to my custom post type, by adding the following code to functions php:

    function wpa_category_for_cpt(){
        register_taxonomy_for_object_type( 'category', 'YOUR CUSTOM POST TYPE' );
    }
    add_action( 'init', 'wpa_category_for_cpt', 999 );

    Then under my custom post type in wp-admin, the category tab appeared and I added my previous taxinomies as categories.

    I then selected category field inside my form, seleted dropdown and added my catgory id's comma seperated.

    I then downloaded and installed this plugin http://wordpress.org/plugins/cat-post-type/

    Now finally all my erstwhile “taxinomies” appear on the submission form, in wp-admin edit custom post, as well as on the submitted published custom post on the front end of the website.

    The only caveat though, is that this method results in other ordinary wordpress post categories also appearing as options under the custom post type category in wp-admin, but in the form itself, you can specify only the categories you want to be selected in the form, so not such a big issue for me.

    #16282

    Emeline
    Member
    Post count: 5

    Thanks DM for your help. I hope there is an easier solution to fix this
    problem.

    I noticed that I was not the only one :
    http://wedevs.com/support/topic/custom-taxonomy/

    Wedevs, we need your help ๐Ÿ˜‰

    2014-03-06 21:55 GMT+01:00 weDevs Team :

    #19060

    Emeline
    Member
    Post count: 5

    Still any idea ?

    #22076

    Mark
    Member
    Post count: 5

    I am having this problem as well. The taxonomies display ok on the front end form however when I save the item the taxonomies do not save. Other fields save ok, just not the custom taxonomy fields. The taxonomies are created using CPT-onomies: Using Custom Post Types as Taxonomies

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

The topic ‘Issues with taxonomies’ is closed to new replies.