Update index.php

Added support for custom taxonomies.