A list of useful code snippets for Frontend and Backend development.
- Convert Hexadecimal to RGB
- Validate email address
- Detect browser's name & OS
- Detect iPad
- Detect ie old browsers
- Limit words
- Get age
- Copy right + year to year
- Language control functions
- Send email with
mail()
function - Send SMTP email
- Create custom post
- Create taxonomy
- Custom login logo
- Custom class names to menu item links
- Rename 'Page' label in Admin Panel
- Rename 'Posts' label in Admin Panel
- Remove items from admin menu
- Remove width/height dimensions from
<img>
tags - Remove
<div>
surrounding dynamic navigation to cleanup markup - htaccess for WordPress
- Password Protect for a Website or Subdirectory
- htaccess