Welcome To Snipplr
Everyone's Recent PHP Snippets Tagged wordpress
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
When creating a WordPress based website for a client, you may need to make sure that he can’t switch themes. This is what I’m going to show you in today’s recipe.
0
734
posted 13 years ago by jamiebrwr
This snippet will help you to use the mother category, the ones with parent => 0, as your classes ready to be stylezed in your CSS!
0
869
posted 13 years ago by Pr0v4
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
623
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
770
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
602
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
543
posted 13 years ago by yaysunshine
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
621
posted 13 years ago by hopeworks