Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 46 47 48 49 50 ... 147
Providing the client some administrative branding can be quick and easy. Here’s how to replace the default WordPress “W” logo in the administrative header with a custom alternative. First, create an image that fits the allocated space. As of...
0 497 posted 13 years ago by jamiebrwr
If you take a look at the top right of the WordPress Admin panels you’ll see a button that says "Help." When you click it, Help text slides down.
0 608 posted 13 years ago by jamiebrwr
Clients often expect full administrative access (and rightly so), including access to settings pages. Let’s look at how we can hook admin “notices” (those warning boxes generated by some plug-ins) to send some warnings to administrative users w...
0 469 posted 13 years ago by jamiebrwr
If your site also has registered users that aren't authors, you might have to modify this to cross-reference the usermeta table. Otherwise, this should work pretty well.
0 424 posted 13 years ago by yaysunshine
This is an easy way to Instantiate and check layouts within a ZendFramework
0 494 posted 13 years ago by Blerx
publish to everywhere except VirtueMart checkout pages (I think!)
0 480 posted 13 years ago by morktron
0 567 posted 13 years ago by kendsnyder
How to get a category id from the name of the category
0 683 posted 13 years ago by athanassiadis
0 527 posted 13 years ago by crackiron
Must be used in the loop.
0 537 posted 13 years ago by jacksaidwhat
This is a much cleaner way to do this than the number of examples on the web. Every example I saw seemed to account for orientation - horizontal vs. vertical vs. square when looking at the input. This ignores horizontal and vertical by mapping the...
0 577 posted 13 years ago by dblack
0 611 posted 13 years ago by TioSolid
Copy /modules/mod_menu/tmpl/default.php to /templates/MYTEMPLATE/html/mod_menu/default.php
0 922 posted 13 years ago by nico65
0 651 posted 13 years ago by beneberle
0 544 posted 13 years ago by TioSolid
As of WordPress 3.1.2, Editors do not have access to the menu editor in WordPress. The following code gives that capability to Editors. Add this code to your functions.php file.
0 476 posted 13 years ago by hopeworks
1 ... 46 47 48 49 50 ... 147