Are you getting a 404 error on some of your wordpress pages after activating our plugin? Well the answer is in, short and simple.
The Theme or Plugin Developer is not adding flush_rewrite_rules(); to the custom post type function.
Here is what our plugin function looks like for the custom post type creation. Notice the 3rd line from bottom that says flush_rewrite_rules();
Now look at this particular theme developers code on line 573. They are missing the flush rewrite at the bottom.
Photo showing how we added code to theme on line 583
And now we all have smiles!
If you’re having a problem like this and would like us to fix your website please email the details of your problem to firstname.lastname@example.org, and we’ll see what we can do.
Main photo courtesy: http://huwshimi.com/404/