Welcome To Snipplr
Everyone's Recent PHP Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Example call: $menuName = sleek_get_theme_menu_name('footer-menu')
0
1248
posted 13 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
1295
posted 13 years ago by Huskie
Just a custom function i use to have formated var_dump while debugging
0
625
posted 13 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
1053
posted 13 years ago by FatFolderDesigner
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
839
posted 13 years ago by ethicka
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
861
posted 13 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
901
posted 13 years ago by jeremyjared74