How to add phone and to upload a files in contact owner form ?
Hello,
How i can change the contact owner form....
I change it the code from /themes/classipress/parts/widget-listing-author.php to add A phone number and a posibility to upload a file to send....
I wish it with the next code but...
" <label><?php _e( 'Phone', APP_TD ); ?>
<input type="text" name="contact_phone" id="contact_phone" class="required" value="<?php echo esc_attr( $display_phone ); ?>">
</label>"
" <label><?php _e( 'Files', APP_TD ); ?>
<input type="file" name="files_upload" id="files_upload" class="required" value="<?php echo esc_attr( $upload ); ?>">
</label>"
And after i add a code here in /
wp-content/themes/classipress/includes/emails.php
" $posted_phone = appthemes_filter( appthemes_clean( $_POST['phone'] ) );
$upload_Files = appthemes_filter( appthemes_clean( $_UPLOAD['Files'] ) );
.................................................. ............
sprintf( __( 'Phone: %s', APP_TD ), $posted_phone ) . '<br />' .
sprintf( __( 'Files: %s', APP_TD ), $upload_Files ) "
But dont work, when i become the email its not atached the phone number and the files which i upload.
Somebody can help me please ???
What i need to change more ?