Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 60 61 62 63 64 ... 147
Plugin gets child pages of parent in Wordpress. You'll need to pass the parent ID but this isn't difficult to figure out programmatically if needed, either.
0 805 posted 13 years ago by ashworthconsulting
Check if a string it's json encoded using regular expressions Thanks to Jens Anders Bakke for his mootools code published in webfreak.no http://webfreak.no/wp/2007/09/07/jsontest-for-mootools/
0 864 posted 13 years ago by jatubio
0 431 posted 13 years ago by slcwebapps
0 556 posted 13 years ago by metoikos
This code goes directly into your template.php file after you remove the open and close PHP tags at the beginning and end. Then place the call below in your block.tpl.php. Don't forget to flush cache.
0 749 posted 13 years ago by Onfire60
Copy the first code snippet to your theme's template.php. Then call the following section in you block template file.
0 633 posted 13 years ago by Onfire60
0 520 posted 13 years ago by ramy
my wordpress loop with paging support and category,tag filteration
3 537 posted 13 years ago by root_hacker
0 690 posted 13 years ago by kendsnyder
0 719 posted 13 years ago by kendsnyder
0 577 posted 13 years ago by kendsnyder
0 494 posted 13 years ago by kendsnyder
0 553 posted 13 years ago by kendsnyder
0 559 posted 13 years ago by kendsnyder
Save the file to the directory where Magento resides.
0 534 posted 13 years ago by TheJasonParker
And a now, word on the log.php maintenance script that comes with Magento 1.4 which has one major shortcoming. It doesn’t maintain your dataflow_batch_* tables, said tables have been seen hiding in the wild at over a Gigabyte in size. php -f...
0 570 posted 13 years ago by TheJasonParker
This fixes the way Magento imports data as it just keeps adding ‘straight join’ to the array which uses a lot of memory if your importing a lot of products and will kill the import. Replace this function in /lib/Varien/Db/Select.php This h...
0 517 posted 13 years ago by TheJasonParker
WP Functions Step 1: Upload the logo you want into the theme images folder Step 2: Add the following code to your theme functions.php file
3 677 posted 13 years ago by silentpro
WP Functions.
0 481 posted 13 years ago by silentpro
0 359 posted 13 years ago by gafitescu
0 434 posted 13 years ago by mommygeekology
0 531 posted 13 years ago by Affix
Uploading multiple files at once used to be strictly in the realm of flash or required javascript to crate multiple upload forms as needed. The first method has the problems with the general incompatibility of flash. The second, well, it's a very low...
0 900 posted 13 years ago by FatFolderDesigner
1 ... 60 61 62 63 64 ... 147