How do you put a custom field anywhere on form-listing.php?
<div class="form-field"><label>
<?php _e( 'YouTube (link)', APP_TD ); ?>
<input name="app_youtube" type="text" value="<?php echo esc_attr( $listing->app_youtube ); ?>" />
</label></div>
In form-listing.php I am trying to set up so users can add or edit content on the form without having the custom fields only popping up with the category selection.
For example, I would prefer the phone and fax number fields be together. Rather the the fax mixed into the list of custom fields.
The code above creates the text import box and puts the existing field contents in the text box, but when the form is edited and submitted the content of the field is not replaced by the edited content. If you click edit from the single listing page and go back toe the edit listing page the field content is exactly the same as it was before attempting to edit the field.