Redirect all attachment pages to frontpage With this code, all attachment pages redirects to the frontpage. This is particularly helpful if you want to keep things […]
Add a Page Slug Body Class Copy this code snippet in your Wordpress theme's functions.php to add a page slug body class to your pages. With it, you can style specific page CSS a lot easier.