Adjust settings on theme activation
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 moreRemove current theme from “Right Now” dashboard widget
Adding this snippet to the functions.php of your wordpress theme will remove current theme from “Right Now” dashboard widget.
read moreDisplay post format in your theme
Adding this snippet to your wordpress theme will display the post format or ‘standard’ if no post format is available.
read morethis months featured snippets
Insert link upon theme activation using wp_insert_link
Adding this snippet to the functions.php of your wordpress theme will add the specified link to your wordpress installation upon theme activation.
read moreRemove the theme editor submenu within admin
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 moreRemove recent comments wp_head CSS
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 moreDisplay theme information with get_theme_data
Adding this snippet to your wordpress theme will let you display data from your theme file. name, title, uri, description, authorURI, template, version, status, tags, author. Change THEME_NAME to the name of your theme.
read moreDisable theme changing by removing submenu
Adding this snippet to the functions.php of your wordpress theme will remove the themes submenu from the admin menu. This is done based on user ID so you can remove the menu just for your clients while still keeping it available for you.
read more













