Add `fb:like:send=”true”` to the Facebook link in your AddThis button configuration. (Oh, and make sure you have `xmlns:fb=”http://www.facebook.com/2008/fbml”` in your `html` tag.)
[Unsupported and experimental, but works for me.](http://www.addthis.com/forum/viewtopic.php?f=8&t=31090&sid=6e3f7d7183ccde9dacd2abc21619eeec)
Many Open Source projects provide their icons for use in other projects. In addition, the licenses of many icon sets allow for remixing and extension. This is hugely beneficial to end-users, as it allows designers to distribute add-on packs without having to worry about complex licensing terms.
Continue reading Small Pixel Icons For Web Designers II
After I had created several custom taxonomies and post types, adding more by directly calling the `register_taxonomy`[^1] and `register_post_type`[^2] functions seemed like a huge waste of space. The following functions create a shortcut for registering taxonomies and custom post types in WordPress; just choose whether you’d like the taxonomy to resemble Post Tags or Categories when calling the function `ucc_register_taxonomy`, and specify an array of taxonomies for `ucc_register_post_type`.
Continue reading Shortcut Functions For Registering Taxonomies And Post Types In WordPress
I wrote this function to allow me to use custom post types in my blog without having to fine-tune each template for their inclusion. It checks the query to see if `post_type` is set; if it is not set (as it would be on a specific post type’s archive page), it includes all public post types.
Continue reading Add custom post types to the Loop by adding an action to `pre_get_posts`
I’ve been playing with custom post types and taxonomies for organizing all things not post and I wanted to customize my admin edit screens for each new custom post type. Navjot Singh’s tutorial[^1] and this thread on Theme Hybrid’s forums[^2] both provide an introduction to adding taxonomy columns. However, I am lazy and don’t like hardcoding in variables each time I add a custom post type or new taxonomy.
The following set of functions grabs a list of available taxonomies for a given `post_type` and automatically adds columns to the appropriate admin pages, without the need to hardcode each post type to taxonomy relationships.
Continue reading Adding Taxonomy Columns To Admin Edit Page For Custom Post Types In WordPress