Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 99 100 101 102 103 ... 147
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
Place in your functions.php file and call it in your theme like this: <?php>
1 1142 posted 14 years ago by afj176
Modified version of the script created by Dave Stevens, Enables the user to input their credentials on a webpage rather than having to change the actual php script code. Changes: Changed $user,$pass,$term This is a modified script, the original...
0 969 posted 14 years ago by jonathonmaguire
This function validate a mail address in a smart way: if the address to validate has a correct syntax (checked with regular expression), it tries to connect to the mx server of the address. This means that the program have to use the smtp protocol to...
3 1069 posted 14 years ago by ginoplusio
0 607 posted 14 years ago by level09
0 610 posted 14 years ago by wilburhimself
It allows you to automatically get the first image from the current post, and display it.
2 3905 posted 14 years ago by math89
How to get actual category name in wordpress if is_category() is true
0 709 posted 14 years ago by AlessandroCoscia
This script will return the URL for the current page you're on, including category and tag pages.
3 1378 posted 14 years ago by jonhenshaw
I’ve made this class that can use normal session variables, or cookies. This class can use cookies in two ways: store a single variable in each cookie, or pack many variables, encrypt, and store them into cookies. Now I always use this class whe...
2 1010 posted 14 years ago by ginoplusio
1 751 posted 14 years ago by ReeceMarsland
I written this code to parse apache log in common log formats. It may have problems with irresponsible formatting like non-concluded into quotes request line. I welcome any modifications to my snippet because it was written if short time and this is...
0 865 posted 14 years ago by mpontus
0 938 posted 14 years ago by ReeceMarsland
OOP style getters and setters in PHP.
1 494 posted 14 years ago by Alexw
For use in conjunction with the get_work function in the theme functions template, functions.php. Requires
0 788 posted 14 years ago by tylersticka
Is also generates the .wp-post-image class for us to style
0 824 posted 14 years ago by crs
0 821 posted 14 years ago by yazu
Strips out every character except 0-9
0 762 posted 14 years ago by jmiller
1 ... 99 100 101 102 103 ... 147