WordPress Custom Post Type 404 Error

Custom Post Types are a wonderful feature in Wordpress and a great mechanism for customization. When implementing this feature you may come across a scenario where you encounter a 404 error when reviewing your custom post type on the browser. The easiest solution that worked for me is the use of the flush_rewrite_rules() function. Just ....read more