No error in debug mode, wordpress template can not be loaded
I had given a rest to this problem and returned it back today with a fresh mind.. I noticed that the problem is about file upload function.. I revised the code as below: $attach_id = media_handle_upload( $file_form_handler, $post_id ); if ($attach_id != false){ // if the attachment is loaded, register them as post meta $file_load … Read more