Welcome To Snipplr


Everyone's Recent Snippets Tagged wordpress



1 ... 33 34 35 36 37 ... 47
Removes wordpress auto <p> tags from content...additional line to clean curly quotes as well.`
0 1398 posted 15 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 1127 posted 15 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 1531 posted 15 years ago by scribbleitdesigns
0 1461 posted 15 years ago by beneberle
0 1343 posted 15 years ago by jeromegamez
9 2907 posted 15 years ago by jaymanpandya
Import into a WordPress installation to test your theme.
0 1324 posted 15 years ago by jonkemp
1 1375 posted 15 years ago by screamwork
0 1410 posted 15 years ago by screamwork
0 1359 posted 15 years ago by screamwork
add home link
1 1504 posted 15 years ago by screamwork
Returns the number of published posts in the given category.
0 1788 posted 15 years ago by mihael
This function returns the slug fot the given post...
0 1825 posted 15 years ago by mihael
Reference for WordPress conditional tags with code example.
1 1310 posted 15 years ago by jonkemp
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 1526 posted 15 years ago by jonkemp
2 1256 posted 15 years ago by themolitor
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 1633 posted 15 years ago by creativelifeform
Just go to your classes.php file line 1332 and replace this line
1 2198 posted 15 years ago by creativelifeform
Originally written by Dimox
4 1759 posted 15 years ago by creativelifeform
Source: http://www.websitedesignby.com/programming/wordpress-website-development-work-flow-wp-config-php/
0 2025 posted 15 years ago by chrisjlee
I looked everywhere trying to find some code that could show me how to display the post thumbnail if there is an image, but to display absolutely nothing if there isn't an image to display (most just either added an image or there was a broken image...
1 5128 posted 15 years ago by bdnnikki
1 ... 33 34 35 36 37 ... 47