01 Why use Wordpress Code Snippets
WordPress code snippets are an excellent way to customize your WordPress site without installing plugins or making major code changes. They can be used to add new features, change existing ones, or resolve issues. You can add functionality to your site that isn't available through plugins or themes by using code snippets.
Additionally, code snippets can help you avoid conflicts between plugins or themes, as you can add custom code to specific areas of your site. They can also help with site performance, security, and search engine optimization.
02 WordPress important Core Files - Untouched
03 WP-Config file - Working Code Snippets
- Turns on php debugger
- Change database table prefix
- Change home & site url
- Empty trash at certain time
- Enable wordpress cache
- Redirect non-existing subdomains and subfolders
- Disable post revisions
- Manage post revisions
- Enable built-in database optimization
- Disable automatic updates
- Disables all core updates
- Enables all core updates, including minor and major releases
- Enables core updates only for minor releases (default)
- Set memory limit for the website
- Set memory limit for the admin area
- Force SSL login
- Disables plugin and theme editor
- Disables plugin & theme editor with plugin & theme update
- Delete image edits
- Disable unfiltered HTML
- .htaccess
04 WordPress Security - Working Code Snippets
- WP Default .htaccess rules
- Block proxy ip adrress to access website
- Choosing a good web host
- Delete file after wordpress installation
- Directory security
- .htaccess 5G Firewall
- Prevent automated spam commenter
- Protecting php installation file
- Protect Article from stealing
- Protect website from bad bots
- Recover wordpress lost password
- Removing Wordpress Version Numbers
- Setup a maintance page in wordpress
- Stop hotlink images
- Wordpress Security with plugins
- WordPress Database Security
- wp-config file security
05 CSS - Working Code Snippets
06 jQuery - Working Code Snippets
07 mySQL Database - Working Code Snippets
08 WordPress Functions - Working Code Snippets
- Hiding wp error messages
- Block admin access for non admin
- Register, login & logout link in main menu
- One user login at a time
- Change wp comment form title
- Cookie error fixing - permanently
- Using custom fields as meta tag
- Hide admin bar for non admin users
- Block copy paste from website
- Change loginout text
- Post word count
09 Woocommerce Plugin - Working Code Snippets
- Experimental fashion sample 9 products - Sample Data
- Experimental sample 9 products - Sample Data
- Sample products - Sample Data
- Sample tax rates - Sample Data
- Order on hold mail notify to admin
- Hide shipping rates when free shipping is available
- Add sold out badge
- Show total sales
- Skip cart and direct checkout