Home › Forums › Plugin Support › WP User Frontend Pro › Programmatically add a WPUF form to post for edit This topic is: not resolved This topic contains 3 replies, has 2 voices, and was last updated by Nayem 3 years, 9 months ago. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts July 20, 2015 at 6:14 pm #56379 amanMember Post count: 6 I am creating a custom post type using this plugin but having an issue when a user try to edit it because a WPUF form is not associated with the post. In wp-admin, I see an option to add a WPUF Form to the post but in my situation, a user will never log into wp-admin and will create a post via front end. How do I attach a form to this post programmatically perhaps when the post is saved ? July 20, 2015 at 9:49 pm #56463 NayemModerator Post count: 6480 Hello Aman, Did not you create any form to post custom post type?. July 23, 2015 at 8:22 pm #56750 amanMember Post count: 6 Yes I did but it does not attach a form. Nevertheless, I have added a hook in functions.php to attach a form to this custom post on save. July 26, 2015 at 12:02 pm #58929 NayemModerator Post count: 6480 Hello Aman, I will suggest you to use a plugin to create custom post type. It will be easy I think. Thanks. Author Posts Viewing 4 posts - 1 through 4 (of 4 total) The topic ‘Programmatically add a WPUF form to post for edit’ is closed to new replies.