WP-Mix

A fresh mix of code snippets and tutorials

Popular Posts

All posts ordered by popularity

Page 28 of 35

jQuery Preview Selected Images

This jQuery script displays a live preview of the currently selected images, as selected from a file input field.

Display WordPress Theme Screenshot

Most good themes include a screenshot, primarily to be displayed on the Themes screen in the WP Admin Area. Of course, theme screenshots can be displayed anywhere, even on the frontend.

Display a custom gravatar in WordPress

Using your own custom gravatars (aka avatars) in WordPress is a piece of cake.

Display performance stats in WordPress

Here is how to display the page-generation time based on PHP and MySQL.

Convert NEF to JPG

I take a lot of photos and recently started shooting in NEF format (because I bought a Nikon). I like the quality, but had a difficult time (on several occasions) trying to find a way to convert the NEF files to JPG or PNG.

Remove sub-menus

Quick snippet for removing or disabling WordPress sub-menus:

Display a number for each post

To display an auto-incrementing number for each post, add the following snippet to your theme’s functions.php file:

Increase upload limits for WordPress

If you’re encountering restrictive upload limits in WordPress, here is a simple fix:

WordPress Remove Menu Item

Quick WordPress tutorial for you today. How to remove an unwanted item from the WordPress menu. You know, the main menu that you find on the left-hand side of the screen when logged into the WordPress Admin Area. If you have a menu item that you want to remove, this post shows an easy way […]

Google Search Engine Alternatives

Google is the Web’s #1 search engine, hands down. But not everyone is in love with it. Fortunately, there are plenty of decent alternatives for those who wish to diversify their search results. Here is a list of the top alternatives to the Google search engine.

Static home page with separate posts page

In WordPress, static home page is possible via the General Settings. Or you can choose to display your blog posts. But how do have both?

Display short URLs in WordPress

Quick tip for the day: display short URLs using native WordPress functionality.