I need Diferent Edition Forms for each Custom Post Type
Author | Posts |
---|---|
April 1, 2014 at 12:28 am 17695 | |
migueldelacueva | Hi, I need to use one form [wpuf_edit] with regular fields for a custom post type A. And another form [wpuf_edit] with diferent fields variations for a custom post type B. I had created the two dashboards where i can see the custom post content for both custom post type A & B. When i do click on Edit a Custom post Type Dashboard "A" i can edit and works fine. But, when i do click on Edit a Custom Post Type Dashboard "B" takes me the same [wpuf_edit] for the custom post A. The problem is that i have a diferente criteria for editing the custom post B than the custom post A. And i only can edit now the post b with the criteria of the post A, wich makes no sense for my project. On the User FrontEnd/Settings/ i can't find an option to declare diferent page(s) with [wpuf_edit] for each custom post i need to edit. Any clues? |
April 1, 2014 at 12:33 am 17697 | |
Tareq Hasan | You really shouldn’t be worried about the shortcode page. Take a look at this video: http://docs.wedevs.com/setting-up-the-plugin/ Every form is attached to a post will picked up dynamically and will be shown there. |
April 1, 2014 at 12:53 am 17706 | |
migueldelacueva | I mean use diferent Edit Pages. Edit page for Custom Post Type “A”, uses the shortcode [wpuf_edit] and there i use the fields: Edit page for Custom Post Type “B”, uses the shortcode [wpuf_edit] and there i use the fields: So the both Edit Pages need to use diferent Edit Structures (A or B or maybe C ), something like [wpuf_edit A_structure_for_customp_post=A] and [wpuf_edit B_structure_for_customp_post=B]. In the Settings is only allowed to assign one Edit Page. |
April 1, 2014 at 6:37 am 17732 | |
Mahi | As Tareq mentioned above, you only have to set one edit page with short-code. It will pick different post types with fields automatically. Please follow http://docs.wedevs.com/setting-up-the-plugin/ to be more clear. |
April 2, 2014 at 7:51 pm 17863 | |
migueldelacueva | not really. I have 2 dashboards [wpuf_dashboard post_type=”event”] The Event has 2 fields The product 3 fields 1. Title The Problem is that when i go to the dashboard of the product [wpuf_dashboard post_type=”product”] and i try to EDIT A PRODUCT i only can modify 1. Title and 3.Price is not avaiable because is assuming from the first dashboard [wpuf_dashboard post_type=”event”] |