Exact matches only
Search in title
Search in content
Search in comments
Search in excerpt
Filter by Custom Post Type

Only show admin bar to administrators

Here a little snippet that will hide the wordpress admin bar from everybody except site admins. Useful for sites that have public registration turned on.

How to remove unwanted WordPress classes

This snippet will let you create a white-list of terms to include in body_class. This is a great way to filter out many of the unwanted css classes added.

Your no.1 source for WordPress snippets, hacks & modifications.

Web Hosting