I make a lot of WordPress themes, and frequently clients want to associate a particular size of image with a post. You can do this easily with WordPress by using add_image_size() to define an image and then by calling wp_get_attachment_image() later to print the markup for that image.
So for example, if I have an [...]
Category Archives: Web development
New WordPress Plugin: Custom Image Sizes
5 Things of Interest to Developers in the New WordPress 2.8
With each major WordPress release, public changes like the new widgets administrative interface usually get all the glory. Here are some new features in WordPress 2.8 that most users won’t even know exist but you will probably care about, if you’re a WordPress developer.
Widgets API The new widgets API lets you create widgets [...]
Paged Comments and the SEO Problem: A Solution
The paged comments feature new in WordPress 2.7 is handy for reducing page size, but it introduces the search engine optimization (SEO) problem of putting the same content on different permalinks, as some have pointed out. That’s because the complete post would appear at all of these permalinks:
http://example.com/my-post-permalink/
http://example.com/my-post-permalink/comment-page-1/
http://example.com/my-post-permalink/comment-page-2/
My solution in this short plugin is to [...]
WordPress Themes and Vagueness
Recently there’s been a kerfuffle in the WordPress blogosphere over the fact that WordPress.org suddenly removed 200 themes from the Extend repository, in order to make all themes comply with this apparently new stipulation:
Themes for sites that support “premium” (non-GPL or compatible) themes will not be approved.
Alister Cameron has written a post that’s excellent [...]
Monthly Archives Idea
Charles Stricklin, WordPress Podcast guru, had an interesting idea for arranging monthly WordPress archives, which is basically to make an archives page like this.