Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged php



1 ... 18 19 20 21 22 ... 58
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 540 posted 13 years ago by yaysunshine
0 813 posted 13 years ago by nathanbweb
This is an easy way to Instantiate and check layouts within a ZendFramework
0 619 posted 13 years ago by Blerx
0 723 posted 13 years ago by nathanbweb
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 736 posted 13 years ago by dblack
0 788 posted 13 years ago by beneberle
Just write this into a .htaccess
0 825 posted 13 years ago by soup
0 691 posted 13 years ago by serialk89
0 627 posted 13 years ago by nathanbweb
1 753 posted 13 years ago by Envo
linkify twitter text status
0 627 posted 13 years ago by global_1981
A php program to check whether two simple connected graphs are isomorphic.
0 737 posted 13 years ago by trusktr
0 682 posted 13 years ago by soup
Pull banner ad or image code from a given text file into an array and randomize the order. Banner/image codes in the file should be separated by tildes (~).
0 810 posted 13 years ago by bluecap
the link explains how the XML is generated.
1 787 posted 13 years ago by iroybot
Turns a Zend_Form object into XML data. Click the associated link to see an Example XML result and a XSL Stylesheet used to display regular HMTL.
1 1054 posted 13 years ago by iroybot
A recursive function to permute the items of an array. The function returns an array that contains many arrays, where each array is a permutation of the original array. This process can get intensive depending on how many items are in the initial arr...
0 755 posted 13 years ago by trusktr
A print_r replacement function that can handle nested arrays and strings. Usage: printr($array);
0 710 posted 13 years ago by tasmanweb
Parses a url correctly even with a url as query parameter, also retuns dirname, basename and extension besides the other parse_url bits. See comments for more info.
0 923 posted 13 years ago by tasmanweb
1 ... 18 19 20 21 22 ... 58