Welcome To Snipplr
Everyone's Recent Snippets Tagged wordpress
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
The problem
As a WordPress user, you probably know how important the wp-config.php file is. This file contains all of the information required to access your precious database: username, password, server name and so on. Protecting the wp-config.php...
0
774
posted 14 years ago by josephknight
Removes wordpress auto <p> tags from content...additional line to clean curly quotes as well.`
0
666
posted 14 years ago by scribbleitdesigns
Place in your theme's functions.php file. This removes the generator altogether, not just the version....making it more secure than simply removing the filter...
0
478
posted 14 years ago by scribbleitdesigns
This is a custom function to place in your theme's "functions.php" file that will override the typical 1.3.2 version of jQuery included in wordpress with the latest 1.4.2 version (and any future release for that matter). This does not effect the admi...
0
808
posted 14 years ago by scribbleitdesigns
Check to see if your function exists in WordPress before calling it. This is standard php code though, so it works outside of WordPress as well.
2
742
posted 14 years ago by jonkemp
Found this bit of code all over the place, except it missed out a very crucial part of the code which was to add a "-" in front of the ID you wish to exclude. Add this to functions.php in your theme folder.
0
864
posted 14 years ago by creativelifeform
Just go to your classes.php file line 1332 and replace this line
1
1074
posted 14 years ago by creativelifeform
Source: http://www.websitedesignby.com/programming/wordpress-website-development-work-flow-wp-config-php/
0
1024
posted 14 years ago by chrisjlee