Support » Plugin: Custom Post Type UI » Form creation redirects to CPT submission

  • Resolved kseniaaco

    (@kseniaaco)


    hi! I have a CPT set up for student transcripts and want to use ACF extended forms for post creation. Whenever i try to post any other CPT it posts as a student transcript. What could be causing this? Pls help!

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Is this forms part of the ACF setup part of Pro? Or is it an extra addon that you purchased that integrates?

    Hard to say what may be going on as is, definitely odd.

    Does it happen with any post types that are not registered via CPTUI? Or is it just our plugin that it’s doing this with?

    Thread Starter kseniaaco

    (@kseniaaco)

    the forms part is an extra add-on and is not the main issue. I’ve only used CPTUI for the CPTs i’ve set up and the issue shows up with all CPTs. It doesn’t happen with the standard WP posts.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Is it a premium plugin or a free one? I can’t rule out it not being part of the problem yet, and if it’s a free one, I want to install it and get your CPTUI settings to see if I can recreate the problem and do some troubleshooting.

    We don’t have any specific integrations with ACF or addons for it, so this is a bit interesting for what’s going on.

    Thread Starter kseniaaco

    (@kseniaaco)

    for the forms, i tried out ACF extended – free version and advanced forms – also free and both had the same issue. The issue is still there without those plugins. I got ACF Pro since those 2 plugin require it but i’m not really using its functionality.

    Here are the CPT UI settings code – let me know what else you need. I can give you access to the site if needed.

    {"school":{"name":"school","label":"Schools","singular_label":"School","description":"","public":"true","show_ui":"true","show_in_nav_menus":"true","show_in_rest":"false","rest_base":"","has_archive":"true","has_archive_string":"","exclude_from_search":"false","capability_type":"post","hierarchical":"false","rewrite":"true","rewrite_slug":"","rewrite_withfront":"true","query_var":"true","query_var_slug":"","menu_position":"","show_in_menu":"true","show_in_menu_string":"","menu_icon":"","supports":["title","editor","thumbnail","excerpt","custom-fields","revisions"],"taxonomies":[],"labels":{"menu_name":"","all_items":"","add_new":"","add_new_item":"","edit_item":"","new_item":"","view_item":"","search_items":"","not_found":"","not_found_in_trash":"","parent":"","featured_image":"","set_featured_image":"","remove_featured_image":"","use_featured_image":"","archives":"","insert_into_item":"","uploaded_to_this_item":"","filter_items_list":"","items_list_navigation":"","items_list":""},"custom_supports":""},"course":{"name":"course","label":"Courses","singular_label":"Course","description":"","public":"true","show_ui":"true","show_in_nav_menus":"true","show_in_rest":"false","rest_base":"","has_archive":"true","has_archive_string":"","exclude_from_search":"false","capability_type":"post","hierarchical":"false","rewrite":"true","rewrite_slug":"","rewrite_withfront":"true","query_var":"true","query_var_slug":"","menu_position":"","show_in_menu":"true","show_in_menu_string":"","menu_icon":"","supports":["title","editor","thumbnail","excerpt","custom-fields","revisions","page-attributes"],"taxonomies":[],"labels":{"menu_name":"","all_items":"","add_new":"","add_new_item":"","edit_item":"","new_item":"","view_item":"","search_items":"","not_found":"","not_found_in_trash":"","parent":"","featured_image":"","set_featured_image":"","remove_featured_image":"","use_featured_image":"","archives":"","insert_into_item":"","uploaded_to_this_item":"","filter_items_list":"","items_list_navigation":"","items_list":""},"custom_supports":""},"student-transcripts":{"name":"student-transcripts","label":"Student Transcripts","singular_label":"Student Transcript","description":"","public":"true","publicly_queryable":"true","show_ui":"true","show_in_nav_menus":"true","delete_with_user":"false","show_in_rest":"true","rest_base":"","rest_controller_class":"","rest_namespace":"","has_archive":"false","has_archive_string":"","exclude_from_search":"false","capability_type":"post","hierarchical":"false","can_export":"false","rewrite":"true","rewrite_slug":"","rewrite_withfront":"true","query_var":"true","query_var_slug":"","menu_position":"","show_in_menu":"true","show_in_menu_string":"","menu_icon":"dashicons-category","register_meta_box_cb":null,"supports":["title","editor","custom-fields"],"taxonomies":[],"labels":{"menu_name":"Student Transcripts","all_items":"All Student Transcripts","add_new":"Add new","add_new_item":"Add new Student Transcript","edit_item":"Edit Student Transcript","new_item":"New Student Transcript","view_item":"View Student Transcript","view_items":"View Student Transcripts","search_items":"Search Student Transcripts","not_found":"No Student Transcripts found","not_found_in_trash":"No Student Transcripts found in trash","parent":"Parent Student Transcript:","featured_image":"Featured image for this Student Transcript","set_featured_image":"Set featured image for this Student Transcript","remove_featured_image":"Remove featured image for this Student Transcript","use_featured_image":"Use as featured image for this Student Transcript","archives":"Student Transcript archives","insert_into_item":"Insert into Student Transcript","uploaded_to_this_item":"Upload to this Student Transcript","filter_items_list":"Filter Student Transcripts list","items_list_navigation":"Student Transcripts list navigation","items_list":"Student Transcripts list","attributes":"Student Transcripts attributes","name_admin_bar":"Student Transcript","item_published":"Student Transcript published","item_published_privately":"Student Transcript published privately.","item_reverted_to_draft":"Student Transcript reverted to draft.","item_scheduled":"Student Transcript scheduled","item_updated":"Student Transcript updated.","parent_item_colon":"Parent Student Transcript:"},"custom_supports":"","enter_title_here":"Add Student Transcript"}}

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    By any chance are you able to recreate this on a dev site where you can disable other plugins? Asking because I did find https://wordpress.org/plugins/acf-extended/ which I am pretty confident is the free version you’re referring to.

    I imported your post type settings above, and did step by step the same actions you took in the provided video. However I wasn’t able to recreate. The form created is shown at /wp-admin/edit.php?post_type=acfe-form and there’s no post being added with --- for a title or anything like that, in the student-transcripts post type list, so a post wasn’t unintentionally created.

    I’m wondering if the conflict is coming from somewhere else, but I can’t say where by any means.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Form creation redirects to CPT submission’ is closed to new replies.