Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged c



1 ... 57 58 59 60 61 ... 147
#ImageMagick must be installed on server for this operation
6 3757 posted 15 years ago by alessio2
Add a list of recent comments from the wordpress database
1 1447 posted 15 years ago by zac
Example of loading thickbox and syntaxhighlighter conditionally from the functions.php of a wordpress theme.
2 1673 posted 15 years ago by zac
1 2552 posted 15 years ago by tudisco
Add this to your theme's functions.php file
0 1703 posted 15 years ago by amyb
I needed a way to generate some random strings for passwords, a number of methods seemed a little over the top so below is my simplified version that does the trick. I have set it to use non-confusing characters, so no i's, l's, 0's but very easy to...
0 1896 posted 15 years ago by motlive
1 1672 posted 15 years ago by rccc
returns "City, State" if found otherwise defaults to "Hollywood, CA"
18 15603 posted 15 years ago by crypticsoft
1 2138 posted 15 years ago by ptiswitz
Modify the array to get different number of posts, change the order, change / add categories etc.
1 1986 posted 15 years ago by amyb
2 2324 posted 15 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 1718 posted 15 years ago by louisdedecker
0 1804 posted 15 years ago by dropthenerd
## Benefit To notify visitors that the current post they are viewing is an old post. Suitable for Blog / Website that provide timely articles
0 1992 posted 15 years ago by firewalker06
0 2058 posted 15 years ago by pickyj
0 2191 posted 15 years ago by rstandley
Inserts WordPress shortcode outside the loop in a template
1 1715 posted 15 years ago by primitiveshaun
5 2977 posted 15 years ago by pickyj
0 1769 posted 15 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 1934 posted 15 years ago by rliverman
0 2071 posted 15 years ago by Turek
1 ... 57 58 59 60 61 ... 147