Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 33 34 35 36 37 ... 147
Example call: $menuName = sleek_get_theme_menu_name('footer-menu')
0 2511 posted 15 years ago by Huskie
No modifications or testing carried out yet.
0 2588 posted 15 years ago by Huskie
Could possibly be simplified to maximise efficiency. It relies on a separare WP Sleek framework function sleek_get_theme_menu_name. This could ideally be improved to allow the theme location to passed as a parameter somehow.
0 2579 posted 15 years ago by Huskie
find a mac address using php
0 1770 posted 15 years ago by mariraj
0 1900 posted 15 years ago by jamiebrwr
use in template <?php> sau <?php>
0 1535 posted 15 years ago by IronMANro
Just a custom function i use to have formated var_dump while debugging
0 1378 posted 15 years ago by fabienthomas
Just a short little script that takes a mysql query and turns it into a csv file that downloads automatically. If your interested in the details you can hit up the link.
0 2177 posted 15 years ago by FatFolderDesigner
0 1310 posted 15 years ago by distribuida
0 1504 posted 15 years ago by distribuida
I use this to toss all the junk from the header, add a favicon, remove useless admin elements, and block WordPress' ancient jQuery file from embedding.
0 1686 posted 15 years ago by ethicka
0 1781 posted 15 years ago by zack
Função para formatar datas em formato UNIX
0 1646 posted 15 years ago by Jotape
Verifica se o e-mail e o dominio são válidos.
1 1531 posted 15 years ago by Jotape
0 1411 posted 15 years ago by Jotape
0 1711 posted 15 years ago by Jotape
usage: <?php>
1 2052 posted 15 years ago by fackz
0 1605 posted 15 years ago by dato
Lastly, in order to make magento connect to work correctly edit the pear.ini (downloader/pearlib/pear.ini) and update al the paths that you see in this file. Otherwise magentoconnect will try to upgrade your old site when you use it. (the files do...
0 1720 posted 15 years ago by hotdiggity
Add this to the functions.php file. Make sure the Admin Bar is set to show when viewing site. You will see in the Admin Bar the current page template that is being used.
0 1780 posted 15 years ago by jeremyjared74
0 1098 posted 15 years ago by imaginarydesign
1 ... 33 34 35 36 37 ... 147