The Scheme Programming Bee

Prevent WordPress to compress your jpg images

Adding the following code to your functions.php file will let WordPress prevent to compress your jpg images.

Source: WP-Snippets

Embed a page into another page

Paste the code below within the loop. And you will be able to embed a page into another page.

Source: CSS Tricks

Add extra contact methods to user profiles

Just paste the following code into your function.php file and you will be able to add extra contact methods for your user profiles.

Source: TutsPlus

Use shortcodes in theme files

The following snippet will allow you to use shortcodes in theme files.

Source: WP Snippets

Speed up your blog by caching custom queries

Simply paste the following code where you need to execute a custom query to the database and you will be able to speed up your blog by caching custom queries.

Source: WordPress Codex

Show admin bar only for admins

Simply paste the following code into your functions.php file and you will be able to show admin bar only for admins.

Source: Jeff Starr

Display number of Facebook fans in full text

Simply paste the following code, where you want your Facebook fan count to be displayed.

Source: WP Snippets

Restrict user access to specific templates

Simply create a new page template and paste the following code and you will be able to restrict user access to specific templates.

Source: Kevin Chard

Photo Credit: Flickr/Jeff Dlouhy