[Resolved] Custom Post type issue >.>
So I made my own custom post type and after registering it I added:
global $wp_rewrite; $wp_rewrite->flush_rules();
to flush the rewrite rules. Everything was fine till I tried to create a post in that custom post type, when I did and went to view the site I got one of two things that went horribly wrong:
One – The page, no matter what category I went to, what page I went to, what – what ever – I went to always displayed THAT post from the custom post type.
Two – Deleting that post causes me to see a 404 error….
I cant show you the site cause I am working on it locally. Any ideas?
- The topic ‘[Resolved] Custom Post type issue >.>’ is closed to new replies.