Scroll to top

Blog

I would like to discuss on whatever your requirement will be. Also I feel pleasure to be a part on that. So let’s just the conversation and finish this in efficient way.

How to upload file into wordpress child theme folder in wordpress ( file upload) ?

upload file into wordpress child theme folder in wordpress ( file upload) if(isset($_POST[“submit_p_img”])){ $filename = $_FILES[“p_img”][“name”]; $tempname = $_FILES[“p_img”][“tmp_name”]; echo $folder =  $_SERVER[“DOCUMENT_ROOT”].”/messanger/wp-content/themes/twentytwenty-child/pimg/”.$filename; move_uploaded_file($tempname,$folder); }

Read More »