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 add new file type to upload in wordpress?

Add new file type to upload in wordpress function add_file_types_to_uploads($file_types){ $new_filetypes = array(); $new_filetypes[‘svg’] = ‘image/svg+xml’; $file_types = array_merge($file_types, $new_filetypes ); return $file_types; } add_filter(‘upload_mimes’, ‘add_file_types_to_uploads’);   Get more information

Read More »

How to add days in a specific date in php?

How to add days in a specific date in php?   <?php $Date = “2010-09-17”; echo date(‘Y-m-d’, strtotime($Date. ‘ + 1 days’)); echo date(‘Y-m-d’, strtotime($Date. ‘ + 2 days’)); ?>

Read More »

How to create professional login form in HTML and CSS ?

 create professional login form <html> <head> <style> section.elementor-element.elementor-element-809d463.elementor-section-boxed.elementor-section-height-default.elementor-section-height-default.elementor-section.elementor-top-section { display: none; } .elementor-inner { display: none; } .wrapper{ width:100%; height:100vh; display: flex; justify-content: center; align-items: center; } .wrap{ width:80%; margin:auto;

Read More »

How to use if condition and change on scroll in jqurey?

 use if condition  and change on scroll in jqurey? <script src=”https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js”></script><script> $(document).ready(function(){var $w = $(window).scroll(function(){    if ( $w.scrollTop() > 1000 ) {          alert(“hello”);    

Read More »

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

How to 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”);?>   Get more information Read More Posts

Read More »