When using date inputs webkit browsers like Chrome will show some controls on the right side. However on mobile devices those controls don’t show up and you will end up with a strange padding on the right side. The date inside the field doesn’t go until the end of the input field but instead gets cropped off way before. Have a look at the following example: See the Pen Example of cropped off date in date…
When I started developing plugins for WordPress I found it quite difficult to understand how to do database queries the right way. I had read about $wpdb, the $wpdb->prepare() method as well as different other methods like get_var(), get_results(), query()… In the end I was pretty confused as to when and how to use which method and how to use prepared statements. So for anyone struggling about this as well I created this quick tip…
Why monitoring is important Monitoring your website and server is an important task for every website owner. By using a monitoring service you can make sure your website is available and get notified once your server goes down. You can then perform the necessary steps to make sure your website goes back online. If your website is offline you will loose customers. Monitoring tools You could simply use a service like Pingdom or Monitis to make sure you…
Why use ajax anyways? Using ajax requests on your website can be very useful when you would like to load content asynchronously after the page has finished loading. Ajax can help decrease the TTFB (time to first byte) because some parts of the website’s logic can be taken out of the main synchronous request and instead loaded afterwards. However if not used correctly ajax requests can slow down the browser and in the worst case completely crash…