Shortcode to display users IP address in posts & pages
Adding this snippet to the functions.php of your wordpress theme will let you use a shortcode to display the users IP address in your posts or pages.
read moreHighlight keywords in search results within the_excerpt and the_title
I whipped up this little snippet that you can add to the functions.php of your wordpress theme to highlight keywords in search results for the_excerpt and the_title. A few highlight search results snippets floating around including a great one by Michael Martin. However they require you edit template files so this is my take on Michaels Idea.
read moreFreebie: Postage stamp graphic
this months featured snippets
Adjust default sizes for embedded content
Adding this snippet to the functions.php of your wordpress theme will let you update the default embed sizes.
read moreDisable theme, plugin editor and plugin, core updates
Adding the first line to your wordpress wp-config.php file will disable theme and plugin editor. Adding the second line to your wordpress wp-config.php file will disable plugin and core updates.
read moreHide update nag within the admin
Adding this snippet to the functions.php of your wordpress theme will hide the update nag within the wordpress admin.
read moreRemove inline style from gallery shortcode
The WordPress gallery shortcode will add some inline CSS to your document however if I’m like many of you, I would rather use my own. Adding the above snippet to the functions.php of your wordpress theme will disable the default gallery styles from being inserted into the page.
read moreRemove unneeded images / thumbnail sizes
Adding some or all of these lines of code to the functions.php of your wordpress theme will effectively remove some of the default images sizes that may be unneeded. Make sure to include both the _w _h for width and height,
read more













