modified some of my sql calls and prepared post types for SEO