Home Forums Plugin Support WP User Frontend Pro I need Diferent Edition Forms for each Custom Post Type

This topic is: not resolved

This topic contains 4 replies, has 3 voices, and was last updated by  migueldelacueva 5 years, 1 month ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #17695

    migueldelacueva
    Member
    Post count: 6

    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?

    #17697

    Tareq Hasan
    Keymaster
    Post count: 2831

    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.

    #17706

    migueldelacueva
    Member
    Post count: 6

    I mean use diferent Edit Pages.

    Edit page for Custom Post Type “A”, uses the shortcode [wpuf_edit] and there i use the fields:
    – Title
    – Description

    Edit page for Custom Post Type “B”, uses the shortcode [wpuf_edit] and there i use the fields:
    – Taxonomy A
    – Taxonomy B
    – Taxonomy C

    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.

    #17732

    Mahi
    Member
    Post count: 1555

    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.

    #17863

    migueldelacueva
    Member
    Post count: 6

    not really.

    I have 2 dashboards

    [wpuf_dashboard post_type=”event”]
    [wpuf_dashboard post_type=”product”]

    The Event has 2 fields
    1. Title
    2. Body

    The product 3 fields

    1. Title
    2. Body
    3. Price

    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
    2. Body

    and 3.Price is not avaiable because is assuming from the first dashboard [wpuf_dashboard post_type=”event”]

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘I need Diferent Edition Forms for each Custom Post Type’ is closed to new replies.