wordpress snippets last updated   : April 14, 2014
we now have 630 snippets

Adjust settings on theme activation

wordpress snippet

Place this in your functions.php to adjust your default WordPress settings when activating your theme for the first time. This function also deletes the default post, page and comment that are created when you install WordPress.

read more

Remove current theme from “Right Now” dashboard widget

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will remove current theme from “Right Now” dashboard widget.

read more

Display post format in your theme

wordpress snippet

Adding this snippet to your wordpress theme will display the post format or ‘standard’ if no post format is available.

read more

Insert link upon theme activation using wp_insert_link

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will add the specified link to your wordpress installation upon theme activation.

read more

Remove the theme editor submenu within admin

wordpress snippet

Posted a snippet yesterday to remove $submenu items but for some reason it does not remove the theme editor panel this way. Adding this snippet to the functions.php of your wordpress theme will remove the theme editor submenu. Or disable editor and plugin modifications entirely.

read more

Remove recent comments wp_head CSS

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will remove the CSS added to the header for the recent comments widget.

read more
jqsnipp.com | we just launched jquery snippets website