The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End WordPress custom post types Reply To: WordPress custom post types

[email protected]

There was nothing wrong with the code, it was just a url caching issue.

I Had to reset the permalinks in WP dashboard -> settings -> permalinks
1. Reset it to Default and save then,
2. set it to whatever you want.

For anyone who is this facing this issue.

Thanks @Alen you were very helpful.