Welcome To Snipplr
Everyone's Recent PHP Snippets Tagged wordpress
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
566
posted 14 years ago by mdesilets
Shows the sub pages of a parent page, and also the parent page as a link.
1
704
posted 14 years ago by davebowker
create two custom fields: one called custom_css and one called custom_js.
1
574
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
1559
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
578
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
736
posted 14 years ago by math89
Remove the “Please upgrade now†message in the Wordpress Dashboard
Paste the code in your functions.php
0
539
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
747
posted 14 years ago by mdrisser
From Web Design Ledger "13 Useful Code Snippets for WordPress Development"
0
601
posted 14 years ago by mdrisser
From Web Design Ledger "13 Useful Code Snippets for WordPress Development"
1
712
posted 14 years ago by mdrisser
From Web Design Ledger "13 Useful Code Snippets for WordPress Development"
0
730
posted 14 years ago by mdrisser
From Web Design Ledger "13 Useful Code Snippets for WordPress Development"
2
622
posted 14 years ago by mdrisser
Place in your functions.php file and call it in your theme like this:
<?php>
1
961
posted 14 years ago by afj176
It allows you to automatically get the first image from the current post, and display it.
2
2167
posted 14 years ago by math89