Issues with taxonomies
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 | I have the same issue. I use Easy Custom Post Type for taxinomy creation and none of the taxinomy data appears on published posts. |
February 28, 2014 at 10:46 am 15927 | |
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 | Hi there, 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 | This reply has been marked as private. |
March 6, 2014 at 2:20 pm 16239 | |
Emeline | Any ideas ? |
March 6, 2014 at 8:38 pm 16246 | |
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 | Hello Tareq, Thanks for your reply. 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 | May be the taxonomy you are using is not hierarchical? That might be an issue. |
March 6, 2014 at 11:07 pm 16256 | |
Emeline | The taxonomy is hierarchical. |
March 7, 2014 at 2:55 am 16259 | |
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:
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 | Thanks DM for your help. I hope there is an easier solution to fix this I noticed that I was not the only one : Wedevs, we need your help 😉 2014-03-06 21:55 GMT+01:00 weDevs Team : |
April 18, 2014 at 6:42 pm 19060 | |
Emeline | Still any idea ? |
June 18, 2014 at 12:39 am 22076 | |
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 |