Custom Post Type / Custom Fields / Form
Author | Posts |
---|---|
July 2, 2014 at 3:53 pm 22740 | |
Sekander Badsha | 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 |
July 5, 2014 at 11:17 am 22953 | |
Sekander Badsha | Hello Robin, |
July 5, 2014 at 2:42 pm 22965 | |
Robin | 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 |
July 23, 2014 at 7:52 pm 24021 | |
Rachel | 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! |
August 3, 2014 at 8:22 pm 24450 | |
Sekander Badsha | Hello Rachel and Robin, 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. |