WordPress: Custom Login Page Logo and URL (No Plugin)
Brand the WordPress login page with your own logo and link — a few lines of code, no plugin needed.
Small pieces of working code for the platforms you build on. Copy them, download them, and read the install notes before you paste.
Brand the WordPress login page with your own logo and link — a few lines of code, no plugin needed.
Log every 404 on your WordPress site so you can see which broken links visitors actually hit — and fix them.
Add your own widget to the WordPress dashboard — show today's orders, a checklist, or quick links for your team.
Stop spam on old WordPress posts by closing comments automatically after a set number of days.
Validate file uploads in PHP by checking the real file type, size and extension — not just what the browser claims.
Add an “X min read” badge to your WordPress posts — it counts words at 200 words per minute, with no plugin needed.
Stop WordPress filling your database with revisions: keep only 5 revisions per post and slow autosave to every 5 minutes.