About 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.

Find more about me on:

Here are my most recent posts

Create Database Tables for Your WordPress Plugin

In order to advance your WordPress plugin development (or even theme development), one of the steps you will need to make is learning how to create and work with additional database tables, which you can use to store information used by your plugin. By creating extra tables in the WordPress database, you will be able to create an infinite number of different kinds of plugins. A plugin-specific table allows you to define the exact data structure you need for your development. An example of a plugin using a custom database table, is one of my latest plugins: Sugar Slider – […]

Get Adjacent Posts to Currently Viewed Post

There is a very useful function in WordPress called get_adjacent_posts() that allows us to retrieve either the previous post, or the next post, and all of it’s information, which is stored in a variable. This function is particularly useful for situations, such as portfolios, where you want to display a teaser of the previous or next post, such as the posts’ thumbnails. You can see this exact effect being used on the beautiful Practica Portfolio Theme from Theme Forest. How It Works The function looks like this: 1 <?php get_adjacent_post( $in_same_cat, $excluded_categories, $previous ) ?> $in_same_cat -true/false – whether to […]

Add Multi Site Blog ID to WordPress

If you work with the WordPress Multi Site feature, you may understand how useful it can be to have the option of easily finding the ID number of your network sites. Unfortunately, WordPress does not include any simple way of finding the site ID, not without hovering your mouse over the link and inspecting the URL. Well, this function will make your life much easier. Paste the code below into your functions.php and the ID number of each site will now be displayed in a column on the right side of the site browser. 1 2 3 4 5 6 […]

Fool Proof Tips to Styling WP Nav Menus

Kevin wrote a great introduction tutorial on using the WordPress 3.0+ nav menus. As Kevin mentioned in that post, styling your menus can be difficult at times, especially if you are migrating from a static nav menu and attempting to maintain the same styling. Having used the 3.0 nav menus in more than a dozen custom themes myself, I’m going to give you all a few tips on how best to attack the CSS. Always Use a Wrapper Div If you wanted, you could just display your navigation menu like this: 1 <?php wp_nav_menu(array(’theme_location’ => ‘main_nav’,’container’ => ”,));?> This works […]

Get Comments From Across A Multi Site Network

If you run a network of WordPress sites on the WordPress 3.0+ multi site mode, then you may want the ability to create a “network chatter” box of comments from across the network. While this is not the simplest task, it’s not too difficult if you know how. After a lot of tweaking, I’ve managed to put together a function that will do just that. So here it is: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 […]