Sending data to server when user closes the page is necessary for analytics and diagnostics. It has been very difficult for developers to choose a correct way to send data to server just before page unloads and not anytime earlier. In this tutorial I will provide two ways to do it. Using Synchronous AJAX You […]
This post is a part 3 of Premium WordPress Plugins post series. “Donate Now” buttons are already outdated and the new trend if “Buy me a Beer” button. Although both types of button are donation buttons they sound different. Websites who have switched to “Buy me a Beer” button from “Donate Now” button see a […]
This post is a part 2 of Premium WordPress Plugins post series. I have created a Freelance widget for WordPress which displays a short bio about blog author and skills. Clients can contact the author for freelance jobs directly by filling the contact form embedded in the widget. Its a great way to monetize development […]
This post is a part 43 of Intel XDK Complete Tutorial post series. In this tutorial I will show you how to find user’s current location using JavaScript in Intel XDK app. Applications like Facebook messenger, Google Maps APP etc use some sort of Geolocation APIs to detect user location and display it on embedded […]
This post is a part 42 of Intel XDK Complete Tutorial post series. In this tutorial I will show you how to use HTML5 IndexedDB storage in Intel XDK APP. We will also see how to provide an support for non-HTML5 browsers too. What is IndexedDB? IndexedDB is a object oriented local database supported by […]
Here is the code to display the excerpt of the current requested page in WordPress. This code works outside loop also. Excerpts are usually displayed in description meta tags. <?php if(is_single() || is_page()) { global $wp_query; $id = $wp_query->post->ID; […]
This post is a part 26 of Intel XDK Complete Tutorial post series. In this tutorial I will show how to integrate push notification in a Cordova Hybrid apps. Intel XDK legacy apps use pushMobi webservice to integrate push notifications but in cordova hydrid apps you have to use third party plugins. Include Push Plugin […]
This post is a part 41 of Intel XDK Complete Tutorial post series. In this tutorial I will show you how to create sharing buttons for Intel XDK app. Sharing buttons are necessary if you want your app users to share some content of your app with their friends/connections. What is Share Widget? A share […]
This post is a part 3 of Intel XDK Complete Tutorial post series. I have created a video on how to test Intel XDK app on real device using Adhoc build and then once your app is ready how you can publish your app to App Store. When you build an app binary for adhoc […]
Most Commented