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

Display the Number of Comments by Author

A really cool feature that some sites, such as Pro Blog Design, utilize is showing the number of comments an author has posted next to their name and gravatar in a post’s comment list. This is a function that should really be included in the WP core, but, alas it’s not. But no worry because we’ll just make our own. Copy the function below into your functions.php: 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 function author_comment_count(){   $oneText = ‘1’; […]

Plugin Give Away: WordPress Font Uploader

If you follow us here at WP Mods or me on Code Canyon or Twitter, you are probably familiar with my popular Font Uploader plugin for WordPress. If not, it’s a plugin that allows you to completely customize and control the fonts on your website. It is compatible with every WordPress theme and has received more than 4 dozen five star ratings. Well, if you’d like to get your hands on this plugin, now is your chance. I am running a give away for three free licenses of Font Uploader over at Pippin’s Pages.com. The contest is simple: tweet about […]

Working with Database Tables in Your Plugins (Part 3)

This post is the third part of a series on working with database tables in WordPress plugins. Read the first and second post before proceeding. In the last post, I showed you how to retrieve data from a table, in this post I’m going to demonstrate how to insert, delete, and update data in a tables. Insert Rows into Your Table Putting data into your table is pretty simple. All you have to do is run a simple insert query with the $wpdb class. 1 2 3 4 5 6 7 8 9 function insert_my_data() { global $wpdb;   $wpdb->insert( […]

Working with Database Tables in Your Plugins (Part 2)

Last week, I wrote a post showing you how to create a custom table in the WordPress database in which to store information for your plugin. Today, I’m going to show you a few tips on how to actually work with that data. Retrieve Rows from Your Table Let’s say that you have created a table for your plugin, and now you need to pull information from the table. it’s quite simple actually. All we’re going to do is utilize a foreach loop to cycle through each row of the database. 1 2 3 4 foreach( $wpdb->get_results("SELECT * FROM your_table_name;") […]

Easy Content Types Plugin – Post Types, Taxonomies, and Metaboxes

Today, my latest WordPress plugin was published on Code Canyon. The idea behind the plugin was to completely alleviate the difficult task of adding custom post types, taxonomies, custom metaboxes to your themes. And that’s exactly what it does. Easy Content Types provides an extremely easy to use and intuitive interface for creating custom post types, taxonomies, and meta boxes. Features Custom Post Types Easy to use interface Register custom post types Edit post types after creation Control all post type attributes and support options Automatically create theme template files for post types Thorough documentation and explanation of post types […]