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 »

How to get(search) record in table with ajax via dropdown?

get(search) record in table with ajax via dropdown Use in main file which you will create  <script src=”<?php echo plugin_dir_url(__FILE__);?>/js/jquery.min.js”></script><script> jQuery(document).ready(function($){ $(“.selectcustomer”).change(function(){ var name = $(“.selectcustomer”).val(); /* alert(name); */ var

Read More »

How to pick date(Date Picker) from text field with placeholder in jquery?

 pick date(Date Picker)  from text field with placeholder in jquery <html> <head> <link rel=”stylesheet” href=”//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css”> <link rel=”stylesheet” href=”/resources/demos/style.css”> <script src=”https://code.jquery.com/jquery-1.12.4.js”></script> <script src=”https://code.jquery.com/ui/1.12.1/jquery-ui.js”></script> <script> $( function() { $( “#datepicker” ).datepicker({ dateFormat:

Read More »