Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 61 62 63 64 65 ... 152
0 291 posted 10 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 382 posted 10 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 352 posted 10 years ago by Onfire60
0 310 posted 10 years ago by ramy
my wordpress loop with paging support and category,tag filteration
3 273 posted 10 years ago by root_hacker
0 381 posted 10 years ago by kendsnyder
0 387 posted 10 years ago by kendsnyder
0 299 posted 10 years ago by kendsnyder
0 305 posted 10 years ago by kendsnyder
0 301 posted 10 years ago by kendsnyder
0 320 posted 10 years ago by kendsnyder
Save the file to the directory where Magento resides.
0 297 posted 10 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 322 posted 10 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 282 posted 10 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 333 posted 10 years ago by silentpro
WP Functions.
0 245 posted 10 years ago by silentpro
0 189 posted 10 years ago by gafitescu
0 227 posted 10 years ago by mommygeekology
0 290 posted 10 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 474 posted 10 years ago by FatFolderDesigner
If post has featured image, use it.. If not, pick out the first in the post.. Still not working? Stick with the default one..
3 459 posted 10 years ago by Wendelboe
Change the category id and store id at the top of the script before running it. You can also remove the echo statements if you don’t want any output.
0 293 posted 10 years ago by TheJasonParker
taken from comments at above URL
1 508 posted 10 years ago by dan_hoerr
alternative to print_r with syntax highlight using jquery
3 359 posted 10 years ago by letanure
0 319 posted 10 years ago by bitstream
1 ... 61 62 63 64 65 ... 152