Sorry, doesn’t work here. Tried the permalink save, CPT save, CPT change save & change back save. When I install 0.9.5 again that does work.
After updating last week, none of my CPTs were displaying on my sites. I found that I had to go to “Edit Post Types” and select each CPT from the dropdown and save. This fixed everything. Hope this is changed in the update since it’s very time consuming if you’re updating many sites that use the plugin.
Wish I knew what wasn’t getting converted properly in those cases, which is frustrating for everyone.
Having similar problems with 404 pages with v1.0.5. Clearing caches/permalinks/saving post types isn’t cutting it. Reverting to using Default permalinks (?p=123) lets me view the pages again, but that’s the only solution I’ve found and not one I want to stick with.
Happy to experiment for you if you need a guineapig.
marblegravy, if you would be so kind to test changing the priority on this line, around line 95 of custom-post-type-ui.php from 11 to 10.
add_action( 'init', 'cptui_create_custom_post_types', 11 ); //Priority 11 so that the taxonomies are registered first.
and see if that helps fix rewrite issues
Thanks Michael,
That change worked on the site I was having difficulty with.
Awesome, yet perplexing why such a tiny change has the effect it has.
Hey Michael, the change from priority 11 to 10 also works on my test-site with 5 CPTs! Is this it? The permanent fix? Time for a 1.0.6 update?
I am bumping it back up to the default 10 priority in 1.0.6, as well as fixing a help icon issue pointed out to me on GitHub earlier. Hopefully pretty soon.
It’s not a bulletproof fix because I have had people need to go all the way up to priority 1 to get the rewrites to work, but I think that may be a specific install thing until I know otherwise.
10 has worked the most frequently here.
Unsticky-ing as 1.0.6 is out the door now