Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 59 60 61 62 63 ... 152
2 363 posted 10 years ago by simondiercks
this is pretty useful if you want to use the wordpress blog system to feed a custom application/site of yours
0 323 posted 10 years ago by louisdedecker
## Benefit To notify visitors that the current post they are viewing is an old post. Suitable for Blog / Website that provide timely articles
0 378 posted 10 years ago by firewalker06
0 383 posted 10 years ago by pickyj
0 442 posted 10 years ago by rstandley
Inserts WordPress shortcode outside the loop in a template
1 269 posted 10 years ago by primitiveshaun
5 625 posted 10 years ago by pickyj
0 275 posted 10 years ago by stephcode
Needed this to have the index.php or main blog page show the full content for the first two posts and then just the excerpt for the rest and still have pagination working.
2 343 posted 10 years ago by rliverman
0 352 posted 10 years ago by Turek
0 274 posted 10 years ago by JohnnyGamba
Custom sorting for events based on a custom field needs to be added to navigation-links.php requires plugin: http://wordpress.org/extend/plugins/ambrosite-nextprevious-post-link-plus/
0 394 posted 10 years ago by hussong
Built for german numbers.
0 357 posted 10 years ago by bionickid
I'm using this out of laziness. PHP is slowing things down here, since it's not as close to C as XPath. A better solution would be to have an attribute specifically for search purposes (either in upper or lowercase).
0 337 posted 10 years ago by iroybot
simple one minute, you must have whois on your system
1 242 posted 10 years ago by exu
A simple one page form with attachment that is meant to go straight to the email and not uploaded to the server. Emails an HTML version, a PlainText version and the attachment if there is one.
4 586 posted 10 years ago by StevenW721
This help you cutting text without cut the last word. Any feedback appreciated!
0 275 posted 10 years ago by alesma
his code will show the child pages, and only the child pages, when on a parent or on one of the children. This code will not work if placed after a widget block in the sidebar.
1 378 posted 10 years ago by raz
List WordPress subpages and include parent
0 338 posted 10 years ago by raz
6 414 posted 10 years ago by Roaa
Render the contents for a single node field.
0 236 posted 10 years ago by jonathanpglick
This code comes from the php documentation (see url)
0 319 posted 10 years ago by jli
track click and get aff/campaign info
0 231 posted 10 years ago by jurajsim
1 ... 59 60 61 62 63 ... 152