Web Nuggets
How to add Scrollspy to wordpress or other websites
Automatically update navigation or list group components based on scroll position to indicate which link is currently active in the viewport.
Reduce form submission spam with Honey Pot Antispam Method
Honeypot Anitspam Method is another invisible way to protect your form from bot spam, In this method, we place a hidden field that is invisible for humans but visible for spambots. by this method we trick Spambot. Spambot will think it's a valid field and they gonna...
how to make simple tabs using jquery
Tabs are a very important component that one can use on their website to show related information in a short and effective space, it helps reduce page or post length. We have made simple jQuery tabs using HTML, CSS, and jQuery to show content in tabbale format. Below...
Animated header slide down on page scroll
Add active class on click to menu item at same time remove active class from sibling element through jquery
This script can be use to add the "active" class to the menu item which has been clicked, also simultaneously "active" class removed from the sibling link when other menu items clicked. This feature helps you to design your active menu as per your...
How to add reading time in wordpress post without plugin.
We can add reading time to posts in WordPress by adding small code inside the functions file. Our client has the same requirement to add reading time and there are many plugins available with many other options but using a plugin for a small feature does...
How to create slanted edges octagon by using css3
One can make this by using different techniques, I have tried it with using pseudo-elements.
How to add popup form or customize WooCommerce Cart PDF to show more fields in pdf
I have the same requirement from the client, add a popup form before the user downloads the pdf file So I search and don't find any properly documented post regarding this problem even the developer of "WooCommerce Cart PDF" notice this point but not...
Storing data with encryption in wordpress database
In WordPress, Database store in plain text and the password stored in encrypted code but technically it is wrong because WordPress generally does a hash technique with a password and there is no way to get the original value from the password hash value....