I have been working with WordPress for a while and one thing that irritates me is that the functions.php contains a lot of codes. This makes the file looks messy and hard to follow. Check out from here some methods to improve this.
php
[WordPress] Redirect archive 404 pages to blog post page
This post shows you how to make a redirect that all 404 archive pages will be forwarded to the blog post page, or a new page that you define.
AJAX Contact Form: Sending Emails Without Refreshing Page (Source Code)
In this video tutorial, we will make an AJAX contact form for simple use.
This form has three fields: Name, Email and Message. It lets others send you an email through a web platform without refreshing the webpage using AJAX (Asynchronous JavaScript And XML).