Scroll to top


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 use shortcode in wordpress?

use shortcode in wordpress in function.php or main plugin file function login_register(){ ?> <div  id=”loginform”><form method=”post” action=””> <h4>Login</h4> <div class=”border”></div> <div><span id=”or”>or<span><span id=”full1″> create an account</span></div> <div class=”wrap-input100 validate-input” data-validate=”Enter

Read More »

How to create table in database via wordpress plugin code?

 /* ++++++ Create a table +++++++*/ function create_admin_table(){global $wpdb; $create_cases_table_name = $wpdb->prefix . “jaspreetsingh”; $create_cases_table_query = “CREATE TABLE $create_cases_table_name (  ID mediumint(9) NOT NULL AUTO_INCREMENT,  name text NOT NULL,  phone

Read More »

how to count number of days in between two dates in php?

count number of days in between two dates in php <?php$date1 = date_create(“2017-04-15”);$date2 = date_create(“2017-05-18”);//difference between two dates$diff = date_diff($date1,$date2);//count daysecho ‘Days Count – ‘.$diff->format(“%a”);?>

Read More »