how can i integrate custom fields
Author | Posts |
---|---|
May 16, 2013 at 7:40 pm 3718 | |
whith front end user pro how can we integerate custom fields like dp_video_file, dp_video_url and dp_video_code i am using detube wordpress theme and want to make a form which enable user to submit the videos front end but they haven't used any custom post, they used default post please help | |
May 16, 2013 at 8:30 pm 3719 | |
What type of value stores in that meta field? Video url? This plugin usually saves the image/file’s attachment ID in those custom fields. You can get the url’s of those videos/files like this: | |
May 16, 2013 at 8:40 pm 3720 | |
i have gravity forum, it give this option http://awesomescreenshot.com/0c31a7mu3f http://awesomescreenshot.com/0c91a7nb4d that means in Post options at your plugin we are not having such option where we can describe the custom fields of the post | |
May 16, 2013 at 8:47 pm 3721 | |
It’s not like gravity form here, you’ve to explicitly mention the meta key. | |
May 16, 2013 at 8:50 pm 3722 | |
means this plugin can’t do. | |
May 16, 2013 at 8:59 pm 3723 | |
Please check this. Same theme same issue already been fixed. Thanks. | |
May 16, 2013 at 9:01 pm 3724 | |
I think you are getting the wrong idea. The plugin can DO. The screenshots you provided, doesn’t go with what you want. You want video URL on those custom fields, WP User Frontend puts those video ID’s. Thats the problem, and there is two solutions. First, change your theme code, I’ve given you the code and may be you didn’t understand. The Second solution is adding a hook. So the idea is, you’ll add a custom field with meta key if ( isset( $_POST[‘dp_video_url_id’] ) ) { add_action( ‘wpuf_add_post_after_insert’, ‘wpuf_dp_integration’ ); | |
May 16, 2013 at 9:37 pm 3725 | |
i select the text box and captioned it as video url same in case of embed code also | |
May 16, 2013 at 9:59 pm 3730 | |
I am not sure if you understand what I said. This is a simple solution that will fix your url problem. | |
May 18, 2013 at 5:39 pm 3835 | |
and it worked |