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.
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?
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.