Add fields to the post submission page from ACF
-
Hey,
I was wondering if it was possible to add fields from Advanced Custom Fields to the post submission page?
I have used the function to add the salary field and I’ve tried doing it with a similar piece of code, however, this doesn’t seem to be doing what I want, I was thinking that it might just link to a meta value but it doesn’t seem to be.
function frontend_add_postingtype_field( $fields ) { $fields['job']['_postinngtype'] = array( 'label' => __( 'Posting Type', 'job_manager' ), 'type' => 'text', 'required' => true, 'placeholder' => 'e.g. Careers', 'priority' => 7 ); return $fields; } add_filter( 'submit_job_form_fields', 'frontend_add_postingtype_field' );
It did add the field, however, it doesn’t seem to be doing anything inn the backend.
Is there any way that I can currently do this or is it something that can be added?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Add fields to the post submission page from ACF’ is closed to new replies.