Welcome To Snipplr
Everyone's Recent PHP Snippets Tagged php
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Snippet for getting the layout handles in Magento on each request, helpful for front-end developers.
1
2778
posted 14 years ago by zoranmk
Snippet for logging down all of the layout updates loaded on each request in Magento.
1
2865
posted 14 years ago by zoranmk
Ordena cualquier array multidimensional en base a un campo especÃfico
0
1698
posted 14 years ago by n19ht
Esta función devuelve true si el argumento está codificado en utf8
0
1464
posted 14 years ago by n19ht
If you would like to insert a cForms form into your WordPress website without using the TinyMCE or Widget function, you can do so by inserting this code in your template.
Replace ‘Default’ with the name given to your form.
0
2915
posted 14 years ago by albertpak98
This will search for specific type of tag in html doc and extract type attribute value and all attributes after it in tag.
0
1433
posted 14 years ago by anagaiyahoocom
Heavily based on "Recursive chmod in PHP" by Tenzer ( 03/10/08 http://snipplr.com/view/5350/ )
0
1437
posted 14 years ago by madc
Simplepie per default uses relative paths to generate the cache filename. Whenever I use Simplepie I run into the same problem, that the cache directory can't be located. This is why I modify the file everytime. Here's my version (with a hardcoded p...
0
2836
posted 14 years ago by iroybot
Returns Wordpress categories as a hierarchical object (i.e. categories with subcategories)
0
1108
posted 14 years ago by adamturtle
Used to sort array of objects by it's property
Note: Anonymous functions are available since PHP 5.3.0.
0
2007
posted 14 years ago by Rain
The admin pages listing the site’s posts and pages come with various text columns (title, tags, categories, author and so on). In order to see what the featured images are, you have to visit each post or page individually. What I will show here, is...
0
1737
posted 14 years ago by i-am-andy
Add or Change Content in the Featured Image Meta Box
Posted on March 21, 2011
Perhaps you need to provide a little extra instruction about the Featured Image meta box. It doesn’t take much to add your own text to that box:
0
1776
posted 14 years ago by i-am-andy
Add current class to single posts in Wordpres wp_nav_menu by adding a filter
0
2148
posted 14 years ago by inflightatnight