Changing templates

scribu edited this page Jul 28, 2011 · 7 revisions

Since version 1.5, you don't need to poke around PHP files anymore just to add an id or change a class.

The widget uses a series of Mustache templates, which are very easy to understand, if you know HTML.

Here's how you would change those templates to better fit into your theme:

  1. In your theme directory, create a subdirectory called qmt-templates.
  2. Copy the file(s) from query-multiple-taxonomies/templates into that subdirectory.
  3. Modify the copied file to suit your needs.

By doing it this way, you won't loose your customizations when you update the plugin.