Sometime there might be a situation where you would want to hide a WordPress plugin update notification. Suppose if are working for some non technical client (who might update the plugin by mistake) or if you have made some modifications to a plugin that you don’t want to be overwritten?
Adding Infinite Scroll to a WordPress Theme is very easy. I have added Infinite Scroll to wordpress home, category, archive page and other pages where pagination generally comes. Check out 5 simple steps to add Infinite Scroll on wordpress blog.
You may have noticed that when there is only one search result then user need to click on the title of that result to read more about that post. We can use the below function to redirect user to post page when there is only one search result.
If you want to send a mail to wordpress admin when user comes to 404 page. Then you can write the below simple code in theme’s functions.php file or you can write the same in custom plugin created by you.