Issues with taxonomies

This topic contains 13 reply and 5 voices, and was last updated by Mark 10 years, 5 months ago
Viewing 13 Posts - 1 through 13 (of 13 total)
Author Posts
February 26, 2014 at 5:40 pm 15858
Mark 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
February 27, 2014 at 3:34 pm 15899
DM DM

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.

February 28, 2014 at 10:46 am 15927
Mahi Mahi

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.

February 28, 2014 at 1:35 pm 15937
DM DM

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?

February 28, 2014 at 2:32 pm 15942
Emeline Emeline This reply has been marked as private.
March 6, 2014 at 2:20 pm 16239
Emeline Emeline

Any ideas ?

March 6, 2014 at 8:38 pm 16246
Tareq Hasan Tareq Hasan

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.

March 6, 2014 at 8:52 pm 16250
Emeline Emeline

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.

March 6, 2014 at 9:15 pm 16252
Tareq Hasan Tareq Hasan

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

March 6, 2014 at 11:07 pm 16256
Emeline Emeline

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

March 7, 2014 at 2:55 am 16259
DM DM

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.

March 7, 2014 at 8:58 pm 16282
Emeline Emeline

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 :

April 18, 2014 at 6:42 pm 19060
Emeline Emeline

Still any idea ?

June 18, 2014 at 12:39 am 22076
Mark Mark

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 13 Posts - 1 through 13 (of 13 total)