Upload files and advanced custom fields
-
Hi,
i am using this plugin last 1 year and i’m very happy because very flexiable and never faced problem. I have new project and have a 2 qustions.function university( $thispost, $tmp_task_new) { // New table cell containing additional fields echo '<tr><td class="frontier_no_border">'; // a table to hold the fields and ensure alignment echo '<table class="frontier_no_border"><tr>'; // Simple text field $simple_txt_fld = get_post_meta( $thispost->ID, 'university', true ); echo '<td class="frontier_no_border">University:</td>'; echo '<td class="frontier_no_border">'; echo '<input name="university" id="university" value="'.$simple_txt_fld.'" size="40" type="text">'; echo '</td>'; echo '</tr></table>'; echo '</fieldset>'; echo '</td></tr>'; } add_action( 'frontier_post_form_standard_top', 'university', 10, 2 );I can create and add/edit 30 different fields on frontend and working very well (input type=text, textarea, date, radio al is working. also i can create php shortcode for visual composer. its working.
question1
how can add top on this form. add image 1, add image 2 and image 3 or ….. etc, I mean that image file upload. (each image file will write different field such as image1_filed…question2
Also above code i can call some “advanced custom fields (text, date) to top of form. And yes when i click save, above code writing ACF field. But also acf has different features such as colorpicker, image or image gallery. Can u give us some example how to show colorpicker or image gallery on top of form.I read and tried million article (solution) but never success.
Thanks
Best Regards
The topic ‘Upload files and advanced custom fields’ is closed to new replies.