Here’s the code for smooth scrolling which can be used for generally one page websites $(function() { $(‘a[href*=#]:not([href=#])’).click(function() { if (location.pathname.replace(/^\//,”) == this.pathname.replace(/^\//,”) && location.hostname == this.hostname) { var target = $(this.hash); target = target.length ? target : $(‘[name=’ + this.hash.slice(1) +’]’); if (target.length) { $(‘html,body’).animate({ scrollTop: target.offset().top }, 1000);… Continue Reading One page smooth scrolling Javascript

In this, you can easily integrate AJAX and JQuery with your current HTML/PHP form through which it sends all submitted data to your email address. You have to create first HTML contact form with these three fields i.e. Name, Email and Message . Just create a form with file named… Continue Reading PHP Contact Form with AJAX – No Confliction with other Scripts

A critical vulnerability has been again discovered in one of the most popular plugin i.e. “WORDPRESS SEO BY YOAST” that puts Millions of websites at risks. Plugin Link – https://wordpress.org/plugins/wordpress-seo/ Total Downloads – 1 Million + (14 Million Downloads Approx) Latest Version – 1.7.4 Everyone these days tries to rank… Continue Reading Another Vulnerability discovered in “WordPress SEO by Yoast” Plugin – Update it Immediately

Today I came past a neat little trick, that how you get the WIFI password through CMD i.e. Command Prompt. Computer companies/School-College Networks always disable the Network & Sharing center so that you can’t look into the properties of a connection and get the password from the properties. But I… Continue Reading Get a WIFI Password from CMD in just two steps

Hello Readers, Now you can enjoy FREE 299 INR directly in your INDIAN Bank Account from MY UNIVERSE Company, a contest powered by GOSF (Google Online Shopping Festival). Here’s the DIRECT LINK – CLICK HERE This offer is valid only for TODAY i.e. 12-12-2014 Plus you can also WIN 14… Continue Reading Get FREE 299 INR Direct in your Bank Account for 1 Lakh Users

At Railscamp X it became clear there is a gap in the current HTTP specification. There are many ways for a developer to screw up their implementation, but no code to share the nature of the error with the end user. We humbly suggest the following status codes to be… Continue Reading New 7XX HTTP Errors

For some reason, the .htaccess file is often overlooked by web designers. If you have no idea what the .htaccess file is, I’ll just give you the Wikipedia definition: “A .htaccess (hypertext access) file is a directory-level configuration file supported by several web servers, that allows for decentralized management of… Continue Reading Useful Tips/Tricks For Improving the Website using HTACCESS

Action hooks and filters are very useful in WordPress. They allow you to “hook” a custom function to an existing function, which allows you to modify WordPress functionality without editing core files. Today, here are 10 super useful action hooks and filters to supercharge your WordPress install! Prevent automatic image… Continue Reading Important and Useful WordPress Hooks And Filters

The PHP script is executed on the server, and the plain HTML result is sent back to the browser. Basic PHP Syntax A PHP script can be placed anywhere in the document. A PHP script starts with <?php and ends with ?>: <?php // PHP code goes here ?> The… Continue Reading Chapter 3 – More About PHP Syntax and Comments