About Katz Web Services
Katz Web Services is a web development company operated by Zack Katz.
-
Plugin Support Topics
Popular Posts
- Simple Vertical Align Plugin for jQuery
- How to Create a Custom RSS Feed in WordPress in 12 Lines of Code
- Contact Form 7 Modules - A Plugin
- iContact Widget for WordPress
- Gravity Forms Shortcode Explained
- SEO WordSpinner Plugin - A Killer SEO Plugin for WordPress
- jQuery validator annoyances
- Weather Forecasts for WordPress - WP Wunderground Plugin
Tag Cloud
WordPress SEO Blogging WordPress Plugins Website Redesign Code Marketing Domains Web Design Interspire Development Interspire Shopping Cart Design Google SEO WordPress eCommerce Shopping Cart Search Plugin WP Plugins SEO Optimization Google Links CSS Interspire Customization Search Engine Optimization Nofollow WordPress Development Functions.php Denver SEO Denver
Tag Archives: Joost
Simple Taxonomies Formatting — Improve the Plugin’s Code Output

I’ve been using Joost de Valk’s Simple Taxonomies plugin for a couple of projects, and I’ve been very disappointed by the formatting of the terms output code.
When configuring the plugin, you have the option of choosing “Add terms to the end of posts” or “Add terms to the end of excerpts.” If you do, you get a <div> and a couple of spans. Not very semantic. Also, the code uses an #id, instead of a .class, meaning that if you have more than one post on a page with taxonomies, it no longer validates.
Simple Taxonomies uses terms, so let’s make a list of them!
Here’s a way to reformat the code and prevent overwriting in future plugin updates. We’re going to strip the code and use a definition list instead (<dl>). Definition lists in HTML have a term and description; just as a custom taxonomies creates a taxonomy and its terms.
Posted in Code, WordPress
Tagged custom taxonomies, custom taxonomy, Joost, Plugin, Simple Taxonomies, Taxonomies, WordPress Development, WordPress Plugins, Yoast
2 Comments