Welcome To Snipplr
Everyone's Recent PHP Snippets Tagged wordpress
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This is a combination of two fixes from Michael at [WPEngineer.com](http://wpengineer.com/a-solution-for-the-wordpress-gallery "WPEngineer.com"), which removes the styles from the gallery output, and a follow-up comment by [Aaron Cimolini](http://wpe...
1
957
posted 14 years ago by lancemonotone
Place the following code in header.php before the call to wp_head().
(If you do not include the exact version number when calling libraries from Google's AJAX Libraries API, a redirect is used to pull up the most current version. While this is han...
3
1119
posted 14 years ago by chrisdpratt
Full example widget available at [WP Engineer](http://wpengineer.com/wordpress-built-a-widget/ "Build A WordPress 2.8 Widget With The New Widget API").
0
811
posted 14 years ago by chrisdpratt
If you have your wordpress subpages organized by parent pages... and you dont want the parent pages "clickable" this will fix you right up...
0
699
posted 14 years ago by mdesilets
Shows the sub pages of a parent page, and also the parent page as a link.
1
886
posted 14 years ago by davebowker
create two custom fields: one called custom_css and one called custom_js.
1
724
posted 14 years ago by scitrenbaumgmailcom
Insert this code into your functions.php and you'll get a custom CSS box on every page and post. Be sure your theme has wp_head(); in it.
2
1837
posted 14 years ago by Kerrick
Stick this inside the <?php> and you get the month group title shown only once for that date range. Sexy.
0
721
posted 14 years ago by daipratt
Replace the default WordPress “W†logo in the administrative header with a custom one. Add this code inside the theme’s “functions.php†file.
0
875
posted 14 years ago by math89
Remove the “Please upgrade now†message in the Wordpress Dashboard
Paste the code in your functions.php
0
681
posted 14 years ago by math89
From Web Design Ledger "13 Useful Code Snippets for WordPress Development"
For additional information, see the link above.
0
903
posted 14 years ago by mdrisser
From Web Design Ledger "13 Useful Code Snippets for WordPress Development"
0
769
posted 14 years ago by mdrisser
From Web Design Ledger "13 Useful Code Snippets for WordPress Development"
1
876
posted 14 years ago by mdrisser
From Web Design Ledger "13 Useful Code Snippets for WordPress Development"
0
880
posted 14 years ago by mdrisser
From Web Design Ledger "13 Useful Code Snippets for WordPress Development"
2
757
posted 14 years ago by mdrisser