Tag: wordpress
Fading Into Obscurity
I switched from Movable Type to WordPress on 18 October 2006, and I was totally [late](http://www.google.com/trends?q=movable+type%2C+wordpress&ctab=0&geo=all&date=all&sort=0) to the party. [So ends an era.](http://mashable.com/2010/09/21/say-media/)
WordPress Stack Exchange
Code, questions, and answers.
How to pimp your wp-config.php
How to pimp your wp-config.php
Configure your WordPress installation with style.
How To List A Custom Post Type’s Taxonomies And Terms
I’ve been using the new [Twenty-Ten](http://wordpress.org/extend/themes/twentyten) theme for WordPress on my personal website; it’s great out of the box, but I wanted to display my custom post types and taxonomies in the same format as it uses for categories and tags. The function is broken into two parts: `ucc_get_terms()` returns a multidimensional array of the post’s taxonomy name(s) and each taxonomy’s term links; `ucc_get_terms_list()` gets the taxonomy information and formats the array for display in the template.
Continue reading “How To List A Custom Post Type’s Taxonomies And Terms”
Creating custom fields for attachments in WordPress
Adding A Custom Taxonomy Terms Widget To WordPress
The WordPress Categories Widget currently only handles the `category` taxonomy. I’ve modified it to allow the user to select a taxonomy, and tied in the Tag Cloud Widget code to give the user the choice of display formats: list, dropdown, and cloud. Multiple instances are possible, providing the user with an easy method for displaying links to user-built taxonomy terms.
`preg_replace_callback()` is used to fix the JavaScript for the dropdown menu; instead of generating the default `?query_var=value` format, it uses `get_term_link()` to generate the term URL.
Continue reading “Adding A Custom Taxonomy Terms Widget To WordPress”