Home Forums Plugin Support WP User Frontend Pro Custom Post Type / Custom Fields / Form

This topic is: not resolved

This topic contains 4 replies, has 3 voices, and was last updated by  Sekander Badsha 4 years, 9 months ago.

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

    Robin
    Member
    Post count: 8

    Hi,

    I've created a Custom Post Type with the ‘TYPES' plugin and called it ‘STORIES'. I've then created a Custom Field group called ‘Story Fields'.

    I've assigned the Custom Field Group to the STORIES Custom Post Type and in the back-end I can edit / see the Custom Field Group.

    How do I insert these fields on my WP User Frontend Form using the Custom Field Group please? e.g I want WP User Frontend Form to populate the fields from the Custom Field Group.

    I have setup the form to post to the STORIES custom post type and I can see an populate the associated Custom Taxonomies but struggling to get the custom fields from the Custom Field Group to be populated in the form.

    Thanks
    Robin

    #22953

    Sekander Badsha
    Member
    Post count: 2067

    Hello Robin,
    Go to Settings > General Options > Custom Fields in post and check the box and click save. You'll be able to see your custom post types in the front.

    #22965

    Robin
    Member
    Post count: 8

    No. You misunderstand. I want to populate ‘existing' custom fields from a custom field groups defined by the TYPES plugin.

    Not create new WPUF_ based ones.

    Robin

    #24021

    Rachel
    Member
    Post count: 1

    Hi there! I too am using the wonderful Types plugin to create custom fields and while I see the fields great on the back end and I added the Custom Field section to the form, they don't show up for the user to add/edit those custom fields on the Edit page (just the title and body). I see them in the form, and in the post type. Also, if I use YOUR custom fields, I see those fine (but not in the back end).

    Any idea how I can get the Types custom fields to appear OR have your custom fields appear in the back end?

    Thanks!

    #24450

    Sekander Badsha
    Member
    Post count: 2067

    Hello Rachel and Robin,
    You can use the custom fields with their meta keys.
    Make a post from wp-admin and inspect the custom field's meta keys by “Post Meta Inspector” plugin and use that keys in User Frontend's form.

    Like: WooCommerce adds the stock status with the meta key “_stock_status”. To insert data on this field, I'll take a text field from the custom fields and add the “_stock_status” meta key into that field. So the data we insert in a field with a meta key “_stock_status” will go to WooCommerce without any difficulty.

    Hope this helps. If you feel confused, please come back and post again.

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

The topic ‘Custom Post Type / Custom Fields / Form’ is closed to new replies.