Support » Plugins and Hacks » Custom Post Type / "Submit for Review" only / Does not save meta
6 years, 6 months ago
I’ve pretty much replicated this plugin for podcasts for my own (portfolio) purposes, to simplify the backend for myself and others.
However, I can’t publish the posts (it says “Submit for Review”) and it doesn’t save the meta data for some reason. I am utterly confused.
If you have time, and could have a look, I would be ecstatic: http://pastebin.com/ScnRMaeB
6 years, 5 months ago
$post_type: (string) (required) Post type. (max. 20 characters)
I give of my post type a 21 chars long name, and this error changed the Publish button to”Submit for review”.
Maybe it helps.
6 years, 3 months ago
Did you find a way to fix the 20 character problem?
If you check the wp_posts table, you will see that “post_type” field is defined as varchar(20), so it’s not possible to fix this problem, unless you want to mess with the database structure.
That sucks, I wouldn’t even know where to find or edit that file or if that is even a file.
And since there is no feature yet allowing you to organize/hierarchy your post type and taxonomy url’s I was leaning pretty heavy on creating big run on words for urls.
Maybe these plugins (the second is not a plugin yet, just a php class) will help you too:
Smarter Custom Post Types