Welcome To Snipplr
Everyone's Recent Snippets Tagged php
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Replace standard query_posts with the snippet to enable pagination on pages with a custom loop. Be sure to change out "somecat" with your category or add additional query arguments.
0
597
posted 13 years ago by rickfu
As simple as it can be. An PHP minifier. All the credits go to his author, Kit MacAllister
0
747
posted 13 years ago by thefricky
1) name the file something like "template-pods-export.php"
2) create a new Pods Page & choose the newly created template
3) goto your worpress URL/export
4) enter filename.csv & pod name you want to export.
5) Submit.
6) Away Laughing
0
1569
posted 13 years ago by stewartduffy
If your site also has registered users that aren't authors, you might have to modify this to cross-reference the usermeta table. Otherwise, this should work pretty well.
0
544
posted 13 years ago by yaysunshine
This is an easy way to Instantiate and check layouts within a ZendFramework
0
619
posted 13 years ago by Blerx
This is a much cleaner way to do this than the number of examples on the web. Every example I saw seemed to account for orientation - horizontal vs. vertical vs. square when looking at the input. This ignores horizontal and vertical by mapping the...
0
739
posted 13 years ago by dblack