Pippin Williamson

Pippin Williamson is a WordPress developer based in Lawrence, KS. WordPress is his expertise: custom theme / plugin development, e-commerce solutions, content management, and everything else WordPress. His personal site can be found at PippinsPlugins.com. There he publishes frequent WordPress tutorials, tips and tricks. He also host a variety of his own free WordPress plugins. Join the site and receive member only benefits, including exclusive tutorial access and source file downloads.

Monthy Custom Post Type Archives

Monthy Custom Post Type Archives

Anyone who has played around with WP 3.0+ custom post types knows that they . . . can be a pain at times, particularly when it comes to custom post type archives. Thankfully a few people have taken it upon themselves to develop plugins that care care of many of the grievances of custom post type archives. Brought to us by rATRIJS, a developer from Scotland, Custom Post Type Archives......

Continue reading

Adding Plugin Action Links

Adding Plugin Action Links

Plugin action links are the links that appear just below the plugin name in your WP plugins menu, such as "Edit" and "Activate". Have you ever seen those plugins that have somehow added additional links to that list, such as "Settings" or "Donate"? It's actually quite simple. First, we are going to create a function that will display our links. function our_plugin_action_links($links, $file) { static $this_plugin; ......

Continue reading

Stylesheet Per Page WordPress Plugin

Stylesheet Per Page WordPress Plugin

Just released a few days ago, Stylesheet Per page for WordPress, by jkohlbach, looks to be a very promising plugin. It allows you to create specific stylesheets for individual posts and pages, and it even supports custom post types. Having custom stylesheets for individual posts/pages is extremely useful, especially when you wish to create art directed posts. The plugin also provides you to ability to create IE-specific stylesheets. How to......

Continue reading

Custom Post Type Publish Action Hook

Custom Post Type Publish Action Hook

This is an extension of the post I wrote a while back that described how to perform an action whenever a post is published. The action hook used in that post was for regular WordPress posts and looked like this: // function to be executed when a post is published function run_when_post_published() { // your function code here } add_action('new_to_publish', 'run_when_post_published'); add_action('draft_to_publish', 'run_when_post_published'); add_action('pending_to_publish', 'run_when_post_published'); Well, what about custom post types? Unfortunately, the hooks above......

Continue reading

Four Very Useful WordPress Snippets

Four Very Useful WordPress Snippets

Each of these snippets are extremely useful for accomplishing a variety of tasks. Get Page ID by Page Name function get_ID_by_page_name($page_name) { global $wpdb; $page_name_id = $wpdb->get_var("SELECT ID FROM $wpdb->posts WHERE post_name = '".$page_name."'"); return $page_name_id; } You can use this function in scenarios where you want to display link to a particular page, but would prefer that WordPress generate the link for you, rather than just typing it out yourself (never a great idea). For example, maybe......

Continue reading

Query Multiple Taxonomies in WP 3.1

Query Multiple Taxonomies in WP 3.1

WordPress 3.1 is out, and it has some really cool new features. One of those new features is particularly useful for developers: querying multiple taxonomies. Prior to 3.1, whenever we did a database query, and we wanted to limit the results to only posts tagged with "garden", we were fine. But what if we wanted to display only posts tagged with "garden" AND categorized under "nature". Well, we were out......

Continue reading

Custom Fonts with WP Font Uploader

Custom Fonts with WP Font Uploader

A while back a freelance client of mine asked me to develop a way for them to completely manage the fonts on their website. They wanted the ability to upload their own fonts and apply them to any section of the WordPress powered website. Hmmm, not so easy. If you're familiar with using fonts on a website, you'll know that there are several different options available to you: Cufon, or......

Continue reading

Filter Posts by Category + Tag

default

Just recently released, Cat + Tag Filter is a great plugin by ajayver that allows you to place a widget on your website that lets your visitors filter the posts being displayed by category and/or tag. The plugin is designed primarily for websites with dozens, or hundreds, or tags and categories that need to provide visitors with an easy way to browse the content of the site that is......

Continue reading

Speed Up Your Site with WP Smush.it

Speed Up Your Site with WP Smush.it

WP Smush.it is an actively developed plugin by Alex Bunae that is designed to reduce load times on your site by optimizing all of the images in your posts, pages, and entire media library. Using optimization techniques recommended by Yahoo for best performance, WP Smush.it optimizes your images in several ways: stripping meta data from JPEGs optimizing JPEG compression converting certain GIFs to indexed PNGs stripping the un-used colours from indexed images It does all......

Continue reading

Excluding Posts and Pages from Search

Excluding Posts and Pages from Search

At times it can be beneficial to prevent certain pages or posts showing up in your site's search results. There are a variety of plugins that perform this sort of function for you, but if you'd like to do it yourself (which is typically better than a plugin), you can use the function below to exclude certain posts / pages. // search filter function my_search_filter($query) { // make......

Continue reading