October 17, 2013 at 11:18 pm #9151
Using User Frontend and are very happy, have solved some pretty complex problems on our page.
However ehen using either of the 3 forms we have running the posts are not submitted to the designated custom post category. We have to manually enter the post, set the category and update.
Have tried some of the fixes on the forum but cannot locate the said code to modify.
Regards Bram Andersen, http://www.socication.comOctober 18, 2013 at 8:16 pm #9177
MahiMemberPost count: 1555
possible to share admin login details to check your form settings? reply as private.October 19, 2013 at 9:17 pm #9205This reply has been marked as private.October 21, 2013 at 4:48 pm #9247
MahiMemberPost count: 1555
Sorry for late reply. I just checked. Your categories are not default categories they are custom taxonomy, so you have to add them on form.
I address a test one for school form. check that.October 23, 2013 at 4:26 pm #9321
Tested the new form, selected school. Still is not visible after submitting, have to update the post in the backend. Suggestions?
Venlig hilsen | Best regards
Bram Alexander Andersen
– – – – – – – – – – – – – – – – – – – – – –
road: Bådehavngade 55m
2450 København SV
mobil: +45 21780969
– – – – – – – – – – – – – – – – – – – – – –October 24, 2013 at 11:57 am #9356
wpuf.phpline 229, replace the
wp_die()line with this one:
[php]wp_redirect( home_url() ); exit;[/php]October 24, 2013 at 3:35 pm #9382
Thanks for your reply, have applied the code but can't see any difference? Posts still do not show up when submitted, using Coda and checked in the WP editor.
Do I have to reload something? Cache?
Regards BramOctober 24, 2013 at 7:58 pm #9396
Sorry Bram, I posted in a wrong thread.
As @mahi already gave you the answer, it's a custom post type. As your custom post type doesn't support the
post_categorytaxonomy, so it doesn't show up in that category.October 24, 2013 at 8:11 pm #9399
Hm, so no solution to this – a shame since this must be a pretty normal feature.
Any suggestions? Is it dooable in any way to place it in the correct category even without wp support.
Besides this we have some other smaller adjustments we're looking for a developer to do, is this in your expertise?
RegardsOctober 24, 2013 at 8:48 pm #9401
Ok seems someone has the answer:
Seems post_category is outdated, wp_set_post_terms should work
Can you integrate in plugin? Massive feature request!October 24, 2013 at 10:03 pm #9402
This is not complicated, just add support for
categorytaxonomy to your custom post type like this:
[php]register_post_type( ‘entry', array(
‘taxonomies' => array( ‘category' )
Then you'll be able to assign default categories. So replace your custom taxonomy for category with the default
categoryOctober 31, 2013 at 1:22 pm #9635
Many thanks for the input 🙂 Can't locate where to put the code though, taxonomy.php?
Regards BramOctober 31, 2013 at 11:33 pm #9648
To add category support to that custom post type, you've to change your code that way given in example. Find out where the theme/plugin added that custom post type and make changes. I don't know where.
The topic ‘Custom Posts are saved but not submitted to category’ is closed to new replies.