By:
Kevin Chard | February 22, 2012
| admin | wordpress
Fantastic snippet from Perishable Press this snippet is great for the security to protect wordpress against malicious URL requests. I have attached a zip file with a download of this snippet as a plugin. Just ftp the single php file to your plugins folder and active as normal. ( download )
By:
Kevin Chard | February 20, 2012
| admin | wordpress
Adding this snippet to the functions.php of your wordpress theme will disable all dragging of metaboxes within the admin. Please note that this includes dashboard widgets as well.
Adding this snippet to the functions.php of your wordpress theme will let you limit the number of classes displayed when using post_class, Yes this only works if you are using post_class() within your theme enjoy.
Most popular snippets
Adding this snippet to the functions.php of your wordpress theme will let you redirect users based on roles or capabilities.
By:
Kevin Chard | February 13, 2012
| body_class | wordpress
Adding this snippet to the functions.php of your wordpress theme 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 classes added
By:
Kevin Chard | January 17, 2012
| admin | wordpress
Adding this snippet to the functions.php of your wordpress theme will let you set the content type of email from text/plain to text/html.
By:
Kevin Chard | January 16, 2012
| admin | wordpress
Adding this snippet to the functions.php of your wordpress theme will remove support for the specific features bellow from specified post types. Change the word ‘post’ to anything you like including a custom post type name or the default post, page.
Adding this snippet to the functions.php of your wordpress theme will let you display the top commenter list of users. Use $result->comment_author_email, $result->comments_count, $result->comment_author_url, to add additional parameters to this snippet.
By:
Kevin Chard | January 5, 2012
| archives | wordpress
Adding this snippet to the functions.php of your wordpress theme will let you add custom post types to archives page.
By:
Kevin Chard | January 4, 2012
| admin | wordpress
Adding this snippet to the functions.php of your wordpress theme will remove menu items from the wordpress 3.3 admin bar.
Remove support for specific post type features
Read more…