Why would WordPress use ‘attachment’ in a custom post type’s query string?

I was able to fix this and designate the order of rewrite rules using this class: http://hmn.md/says/2012/11/08/wordpress-rewrite-rules-hm-core-style/

Leave a Comment